Remove Reaction
discord.remove_reaction
ActionChat & messagingconnection required
Calls the Discord API with the connection's credentials.
Remove one emoji reaction from a message.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Discord
- Secret shape
- the bot token (sent as "Authorization: Bot <token>") for every op except discord.execute_webhook, whose secret is the webhook URL
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
channel_id Id of the Discord channel (right-click the channel → Copy Channel ID). | string | Yes | — | — | — |
message_id Id of the message to act on (right-click the message → Copy Message ID). | string | Yes | — | — | — |
emoji A unicode emoji such as 👍, or 'name:id' for a custom server emoji. | string | Yes | — | — | — |
user_id Whose reaction to remove; leave blank to remove the bot's own. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok True once Discord accepted the call. | boolean | true |
message_id Message the reaction was removed from. | string | — |
channel_id Channel the message is in. | string | — |
emoji The emoji that was removed. | string | — |
user_id Whose reaction was removed ('@me' for the bot's). | string | — |
{
"channel_id": "",
"emoji": "",
"message_id": "",
"ok": true,
"user_id": ""
}Notes
- Needs a Discord connection whose secret is the bot token.
- Removing another member's reaction needs the MANAGE_MESSAGES permission.
See Remove Reaction run in a workflow.
In a technical demo we add the Discord connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.