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, specifically to get users who reacted with a specific emoji on a message. It is useful for scenarios where you want to retrieve a list of users who have reacted to a message with a particular emoji, such as for tracking engagement or managing reaction-based roles.
Use Case Examples
- Retrieve users who reacted with a thumbs-up emoji on a specific message in a channel.
- Get the list of users who reacted with a custom emoji to a message for moderation or analytics.
Properties
| Name | Meaning |
|---|---|
| Channel ID | The ID of the channel containing the message where the reaction is located. |
| Message ID | The ID of the message to check for reactions. |
| Emoji | The emoji to filter reactions by, can be a Unicode emoji or a custom emoji ID. |
Output
JSON
id- User ID of the user who reacted.username- Username of the user who reacted.bot- Boolean indicating if the user is a bot.
Dependencies
- Discord API with a bot token credential
Troubleshooting
- Ensure the Channel ID and Message ID are correct and the channel is text-based, otherwise the node will throw a 'Channel not found or not text-based' error.
- If the emoji specified does not exist on the message reactions, the output will be an empty array.
- The bot must have permission to read message history and reactions in the channel to fetch reaction users.