Skip to content

$messageFlags

$messageFlags will return a message’s flags.

Usage

$messageFlags[messageID;sep?;channelID?]

Parameters

FieldTypeDescriptionRequired
messageIDnumberThe ID of the message.true
sep?stringSeparator to separate returned values.false
channelID?numberID of the channel where the message is located in.false

Example(s)

This will the message flags of your initial command message:

1
client.command({
2
name: "messageFlags",
3
code: `
4
$messageFlags[$messageID;, ;$channelID]
5
`
6
});