Actions53
- Message Actions
- Channel Actions
- Thread Actions
- Reaction Actions
- Guild (Server) Actions
- Member Actions
- Role Actions
- Voice Actions
- DM Actions
- Webhook Actions
- Invite Actions
Overview
This node interacts with the Discord API to manage message reactions within Discord channels. Specifically, the 'Remove' operation under the 'Reaction' resource allows users to remove a specific emoji reaction from a message in a given channel. This is useful for automating moderation tasks, managing user interactions, or cleaning up reactions on messages in Discord servers.
Use Case Examples
- Removing a thumbs-up reaction from a message in a support channel after the issue is resolved.
- Automatically removing a specific emoji reaction from announcements to keep the message clean.
Properties
| Name | Meaning |
|---|---|
| Channel ID | The ID of the Discord channel containing the message from which the reaction will be removed. |
| Message ID | The ID of the message from which the reaction will be removed. |
| Emoji | The emoji to remove from the message reaction. Can be a Unicode emoji or a custom emoji ID. |
| Additional Fields | Optional additional parameters that can be used for various Discord API actions, though not specifically used in the reaction removal operation. |
Output
JSON
success- Indicates if the reaction removal was successful.messageId- The ID of the message from which the reaction was removed.emoji- The emoji that was removed from the message.removed- Boolean indicating the reaction was removed.
Dependencies
- Discord API
- An API key credential for Discord bot authentication
Troubleshooting
- Ensure the Channel ID and Message ID are correct and the bot has access to the channel and message.
- The emoji must match exactly the reaction on the message; custom emojis require the correct ID.
- Bot must have the necessary permissions to manage reactions in the channel.
- Common errors include 'Channel not found or not text-based' if the channel ID is invalid or the channel is not a text channel.
- If the reaction to remove does not exist on the message, the operation may fail or have no effect.
Links
- Discord.js MessageReaction Documentation - Official documentation for managing message reactions using discord.js library.
- Discord API - Delete Own Reaction - Discord API documentation on removing a reaction from a message.