Sign In

messageReactionRemove

This event is fired when a user stops reacting

v1.0.1+

Register the event

Enable messageReactionRemove in events and include the required gateway intents in your ForgeClient options in index.js:

const { ForgeClient } = require("@tryforge/forgescript")

const client = new ForgeClient({
  events: [
    "messageReactionRemove"
  ],
  intents: [
    "GuildMessageReactions",
    "DirectMessageReactions"
  ]
})

Handle the event

Listen and react when messageReactionRemove is triggered using an inline command or an external handler file:

client.commands.add({
  type: "messageReactionRemove",
  code: `$log[messageReactionRemove event was triggered!]`
})

Required Intents

Listening to this event requires:
GuildMessageReactions DirectMessageReactions

Was this page helpful?