$clearReactions
$clearReactions
will remove a given or all reactions of a message.
Usage
$clearReactions[channelID;messageID;emoji]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | The channel ID of where the message is located in. | true |
messageID | number | The message ID. | true |
emoji | string | The emoji to remove. 1. all (default) 2. emoji - any emoji | true |
Example(s)
This will add two emojis and remove one completely:
1client.command({2 name: "clearReactions",3 code: `4 $clearReactions[$channelID;$messageID;🥱]5 $wait[2s]6 $addCmdReactions[🥱;😩]7 `8});