Skip to content
Events newMessage

$newMessage — State of the message after an edit (messageUpdate). Properties: id, content, type, channelID, timestamp, editTimestamp, pinned, system, attachments.

State of the message after an edit (messageUpdate). Properties: id, content, type, channelID, timestamp, editTimestamp, pinned, system, attachments.

Syntax

$newMessage[property;(separator)]

Parameters

  • property (String, required) — Property to read; see the list above
  • separator (String, optional) — Separator for list values (default comma)

Return Value

  • String.

Usage

$newMessage[property;(separator)] → value

Example

$sendMessage[$newMessage[property;(separator)]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.