$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
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID. | true |
messageID | number | The message ID. | true |
userID | number | The user ID. | true |
emoji | string | Emoji to check for. | true |
Example(s)
This will return true
as the bot reacted to the initial command message:
1client.command({2 name: "userReacted",3 code: `4$userReacted[$channelID;$messageID;$clientID;😩]5$addCmdReactions[😩]6 `7});