onReactionAdd
Command executes when a reaction gets added to a message.
Event: onReactionAdd
Type: reactionAddCommand
Prerequisites
Add the onReactionAdd
Event:
Add the GUILD_MESSAGE_REACTIONS
Intent:
Functions
$emojiString
- The stringified emoji an user reacted with.$emojiID
- The ID of the emoji an user reacted with.$emojiName
- The name of the emoji an user reacted with.$emojiIdentifier
- The identifier of the emoji an user reacted with.$reactionAuthorID
- Returns the user who reacted.
Example
You should use server variables in $channelSendMessage[]
for 'channelID' (if your bot is in more than 1 server).
Last updated