$reactionCount
$reactionCount
will return the amount of users who reacted to a specific emoji.
Usage
$reactionCount[channelID;messageID;emoji]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | The ID of the channel where the message is located in. | true |
messageID | number | The ID of the message. | true |
emoji | string | The 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:
1client.command({2 name: "reactionCount",3 code: `4There are: $reactionCount[$channelID;$messageID;😫] reactions!5$addCmdReactions[😫]6`7});