Actions32
- Analytics Actions
- Moderation Actions
- Backup Actions
- Automation Actions
- Insights Actions
Overview
This node provides advanced automation capabilities for Discord servers, specifically under the 'Auto-React Messages' operation within the 'Automation' resource. It allows users to automatically react to messages that match certain criteria in a Discord guild (server). This is useful for automating engagement, moderation, or interaction workflows in Discord communities. For example, it can be used to add emoji reactions to messages containing specific keywords or patterns, helping to streamline community management or enhance user interaction.
Use Case Examples
- Automatically add a thumbs-up reaction to all messages containing the word 'help' in a specific Discord server.
- React with a custom emoji to messages that meet certain content criteria to facilitate community voting or feedback.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The ID of the Discord server (guild) where the automation will be applied. |
| Additional Options | A collection of optional settings to customize the automation behavior, including whether to include bot messages, minimum messages for analysis, whether to include attachments, spam threshold, inactive days to flag users, and maximum items to process. |
Output
JSON
guildId- The ID of the Discord server where the operation was performed.roleId- The role ID involved in the operation (if applicable).totalUsers- Total number of users processed.successful- Number of successful operations (e.g., reactions added).failed- Number of failed operations.results- Detailed results for each user or message processed, including success status and error messages if any.
Dependencies
- Discord API access via a bot token credential
Troubleshooting
- Ensure the provided Guild ID is correct and the bot has the necessary permissions in the Discord server to read messages and add reactions.
- If the bot fails to login, verify that the bot token credential is valid and has not expired or been revoked.
- Check that the bot has the required intents enabled in the Discord developer portal, especially for message content and guild member information.
- If the operation involves fetching channels or messages, ensure the channel IDs are correct and the bot has access to those channels.
- Common error messages include 'Channel not found or not text-based' which indicates the specified channel ID is invalid or the channel type does not support text messages. Verify the channel ID and type.