$messageFlags
$messageFlags
will return a message’s flags.
Usage
$messageFlags[messageID;sep?;channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
messageID | number | The ID of the message. | true |
sep? | string | Separator to separate returned values. | false |
channelID? | number | ID of the channel where the message is located in. | false |
Example(s)
This will the message flags of your initial command message:
1client.command({2 name: "messageFlags",3 code: `4 $messageFlags[$messageID;, ;$channelID]5 `6});