Actions32
- Analytics Actions
- Moderation Actions
- Backup Actions
- Automation Actions
- Insights Actions
Overview
This node provides advanced Discord server management tools, focusing on analytics, moderation, backup, automation, and insights. Specifically, the 'Mass Mention Detection' operation under the 'Moderation' resource detects messages in a specified Discord channel that contain mass mentions (mentions of multiple users or roles). It fetches recent messages from the channel, identifies those with three or more mentions, and outputs details about these messages, such as author, content snippet, and mention counts. This is useful for moderators to identify potential spam or disruptive mass mentions in their server.
Use Case Examples
- A Discord server moderator wants to monitor messages in a channel to detect when users mention many others at once, which could be spam or disruptive behavior. Using this node, they specify the guild and channel IDs and run the Mass Mention Detection operation to get a list of such messages for review.
- A community manager wants to analyze the frequency and context of mass mentions in their server to adjust moderation policies accordingly.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The ID of the Discord server (guild) where the analysis is performed. |
| Time Range (Days) | Number of days to analyze messages, typically used in analytics and moderation operations. |
| Additional Options | Collection of optional parameters to customize the analysis, including whether to include bot activity, minimum messages for analysis, inclusion of attachments, spam threshold, inactive days, and maximum items to process. |
Output
JSON
channelId- ID of the Discord channel analyzed.totalMessages- Total number of messages fetched from the channel.massMentionCount- Number of messages detected with mass mentions (3 or more mentions).messages- Array of detected messages with mass mentions, each containing message ID, author username, author ID, content snippet (first 100 characters), counts of user and role mentions, whether everyone was mentioned, and timestamp.
Dependencies
- Discord API with bot token authentication
Troubleshooting
- Ensure the provided Guild ID and Channel ID are correct and the bot has permissions to read messages in the specified channel.
- If the channel is not text-based, the node will throw an error; verify the channel type before running the operation.
- The bot token credential must be valid and have appropriate intents enabled, including message content and guild message intents.
- Large servers or channels with many messages may cause rate limiting or delays; consider adjusting the 'maxLimit' or time range parameters.