$clearReaction
$clearReaction
will remove a given reaction of a message of a given user.
Usage
$clearReaction[channelID;messageID;userID;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 |
userID | number | The user ID of the user whose reactions shall be removed. | true |
emoji | string | The exact emoji to remove. 1. all (default) 2. emoji - any emoji | true |
Example(s)
This will add and remove the bot’s reaction after two seconds:
1client.command({2 name: "clearReaction",3 code: `4 $clearReaction[$channelID;$messageID;$clientID;🥱]5 $wait[2s]6 $addCmdReactions[🥱]7 `8});