Skip to content

$clearReactions

$clearReactions will remove a given or all reactions of a message.

Usage

$clearReactions[channelID;messageID;emoji]

Parameters

FieldTypeDescriptionRequired
channelIDnumberThe channel ID of where the message is located in.true
messageIDnumberThe message ID.true
emojistringThe emoji to remove.
1. all (default)
2. emoji - any emoji
true

Example(s)

This will add two emojis and remove one completely:

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