Skip to content

$userReacted

$userReacted will check if a specified user reacted with a specific emoji to a specific message and return either true or false.

Usage

$userReacted[channelID;messageID;userID;emoji]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe guild ID.true
messageIDnumberThe message ID.true
userIDnumberThe user ID.true
emojistringEmoji to check for.true

Example(s)

This will return true as the bot reacted to the initial command message:

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