onReactionRemove
Triggers when a user removes a reaction from a message.
Add The Event: bot.addEvent("onReactionRemove")
Type: reactionRemoveCommand
Base Code
bot.command({
type: "reactionRemoveCommand", // onReactionRemove type.
channel: "channelID", // The channel which the message gets sent in.
code: `code` // The code to run when someone removes a reaction.
})
Example
bot.command({
type: "reactionRemoveCommand",
channel: "39459438494840494",
code: `<@$reactionAuthorID> just unreacted $reactionEmoji!`
})
Last updated
Was this helpful?