😀
Reaction added
reactionAddMESSAGE_REACTION_ADDTriggerFires when someone adds a reaction to a message.
When to use this
- →Reaction roles
- →Starboard-style logging
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.
😀Trigger
Reaction added
reactionAddSparks 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 reacted with{{reaction.userId}}Discord ID of who reacted{{reaction.messageId}}ID of the message that was reacted to{{reaction.channelId}}ID of the channel where the reaction happenedAvailable sparks
Use these in any piece config field inside flows triggered by this event.
| Spark | Type | Description |
|---|---|---|
{{input.guild.id}} | string | Your Discord server's unique ID |
{{input.guild.name}} | string | Your server's name |
{{input.guild.memberCount}} | string | How many members are in the server |
{{reaction.emoji}} | string | The emoji that was reacted with |
{{reaction.userId}} | string | Discord ID of who reacted |
{{reaction.messageId}} | string | ID of the message that was reacted to |
{{reaction.channelId}} | string | ID of the channel where the reaction happened |
📐
In TypeScript, this would be…
Not something you need to write — Kitcord registers these listeners automatically from your Kit.
TypeScript
client.on("messageReactionAdd", (reaction, user) => {
// {{reaction.emoji}}, {{reaction.userId}}
});