Skip to content
Events oldMessage

$oldMessage — Previous state of the message before an edit (messageUpdate). Properties: id, content, type, channelID, timestamp, editTimestamp, pinned, system, attachments.

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

Syntax

$oldMessage[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

$oldMessage[property;(separator)] → value

Example

$sendMessage[$oldMessage[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.