Discord icon

Discord

Interact with Discord API - Full Bot Features

Overview

This node interacts with the Discord API to manage message reactions, specifically for the 'Remove All' operation under the 'Reaction' resource. It removes all reactions from a specified message within a given channel. This is useful for scenarios where you want to clear all user reactions from a message, such as resetting feedback or cleaning up reactions after an event.

Use Case Examples

  1. Removing all reactions from a message in a channel to reset user feedback.
  2. Clearing reactions from a message to prepare it for a new set of reactions.

Properties

Name Meaning
Channel ID The ID of the channel containing the message from which all reactions will be removed.
Message ID The ID of the message from which all reactions will be removed.
Additional Fields Optional additional parameters that can be set for the operation, though not specifically used in the 'Remove All' reaction operation.

Output

JSON

  • success - Indicates if the removal of all reactions was successful.
  • messageId - The ID of the message from which reactions were removed.
  • allRemoved - Boolean indicating that all reactions were removed.

Dependencies

  • Discord API with a bot token for authentication

Troubleshooting

  • Ensure the channel ID and message ID are correct and the message exists in the specified channel.
  • The bot must have appropriate permissions to manage messages and reactions in the channel.
  • If the bot lacks permissions, the operation will fail with an error indicating insufficient permissions.

Discussion