Skip to content

$reactionCount

$reactionCount will return the amount of users who reacted to a specific emoji.

Usage

$reactionCount[channelID;messageID;emoji]

Parameters

FieldTypeDescriptionRequired
channelIDnumberThe ID of the channel where the message is located in.true
messageIDnumberThe ID of the message.true
emojistringThe emoji its reaction count will be returned of.true

Example(s)

This will return the amount of reactions on your message with which you executed the command, will most likely return 1 due to the bot being the only one who reacted to it:

1
client.command({
2
name: "reactionCount",
3
code: `
4
There are: $reactionCount[$channelID;$messageID;😫] reactions!
5
$addCmdReactions[😫]
6
`
7
});