K
Docs
API ReferenceEvent TypesReaction removed
😶

Reaction removed

reactionRemoveMESSAGE_REACTION_REMOVETrigger

Fires when someone removes a reaction from a message.

When to use this
  • Removing reaction roles
  • Tracking reaction removals

On the canvas

This is what the trigger looks like in your bot's Triggers tab. The sparks listed are available in every node inside the linked flow.

😶
Reaction removed
reactionRemove
Trigger
Sparks in this flow
{{input.guild.id}}Your Discord server's unique ID
{{input.guild.name}}Your server's name
{{input.guild.memberCount}}How many members are in the server
{{reaction.emoji}}The emoji that was removed
{{reaction.userId}}Discord ID of who removed the reaction
{{reaction.messageId}}ID of the message
{{reaction.channelId}}ID of the channel

Available sparks

Use these in any piece config field inside flows triggered by this event.

SparkTypeDescription
{{input.guild.id}}stringYour Discord server's unique ID
{{input.guild.name}}stringYour server's name
{{input.guild.memberCount}}stringHow many members are in the server
{{reaction.emoji}}stringThe emoji that was removed
{{reaction.userId}}stringDiscord ID of who removed the reaction
{{reaction.messageId}}stringID of the message
{{reaction.channelId}}stringID of the channel
📐

In TypeScript, this would be…

Not something you need to write — Kitcord registers these listeners automatically from your Kit.

TypeScript
client.on("messageReactionRemove", (reaction, user) => {
  // {{reaction.emoji}}, {{reaction.userId}}
});