Message functions
-
{messageId}
: Returns the current message ID- Example result:
1
- Example result:
-
{messageContent}
: Returns the message content.
This can be used to insert new functions which then are executed!
Use {args}
instead.
-
Example result:
test
-
{messageAttachment}
: Returns the attachment with the given index- Arguments:
- index = 0
- Example result:
test
- Arguments:
-
{messageType}
: Displays the internal message type ID- Example result:
0
- Example result:
-
{messageTypeText}
: Displays the human-friendly version of the message type- Example result:
Default
- Example result:
-
{messageUrl}
: Returns a Discord message URL- Arguments:
- msg = message.id
- channel = message.channel.id
- guild = message.guild.id
- Example result:
https://discord.com/channels/3/2/1
- Arguments:
-
{mentionsEveryone}
: Returns whether the message mentions everyone or here- Example result:
true
- Example result:
-
{react}
: Reacts on a message with the given emoji- Arguments:
- emoji = "701366957655719936"
- Example result: <empty>
- Arguments:
-
{pin}
: Pins a message- Arguments:
- msgId = message.id
- Example result: <empty>
- Arguments:
-
{unpin}
: Unpins a message- Arguments:
- msgId = message.id
- Example result: <empty>
- Arguments:
-
{target}
: Returns the first mentioned user. Falls back to the message author if no user is mentioned.- Example result:
1
- Example result:
-
{suppressOriginalEmbeds}
: Supresses the embeds of the message triggering the action- Example result: <empty>