Skip to content
Interactions targetMessage

$targetMessage — Property of the message a message context menu command was run on: id, content, authorID, channelID, guildID or url.

Property of the message a message context menu command was run on: id, content, authorID, channelID, guildID or url.

Syntax

$targetMessage[property;(separator)]

Parameters

  • property (String, required) — Property
  • separator (String, optional) — Ignored

Return Value

  • String.

Usage

$targetMessage[property;separator] → result

Example

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