Skip to content

$clearReaction

$clearReaction will remove a given reaction of a message of a given user.

Usage

$clearReaction[channelID;messageID;userID;emoji]

Parameters

FieldTypeDescriptionRequired
channelIDnumberThe channel ID of where the message is located in.true
messageIDnumberThe message ID.true
userIDnumberThe user ID of the user whose reactions shall be removed.true
emojistringThe 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:

1
client.command({
2
name: "clearReaction",
3
code: `
4
$clearReaction[$channelID;$messageID;$clientID;🥱]
5
$wait[2s]
6
$addCmdReactions[🥱]
7
`
8
});