Actions32
- Analytics Actions
- Moderation Actions
- Backup Actions
- Automation Actions
- Insights Actions
Overview
This node performs advanced analytics on Discord servers, specifically focusing on message sentiment analysis when the 'Message Sentiment Analysis' operation is selected under the 'Analytics' resource. It analyzes message sentiment trends over a specified time range within a Discord guild (server), optionally including or excluding bot messages, attachments, and applying filters such as minimum messages, spam thresholds, and inactivity days. This node is useful for server administrators or community managers who want to understand the emotional tone and engagement of their server's messages over time.
Use Case Examples
- Analyzing the sentiment of messages in a Discord server over the past 7 days to gauge community mood.
- Including or excluding bot messages in sentiment analysis to get a clearer picture of human interactions.
- Setting a minimum message count to focus on active users for sentiment trends.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The ID of the Discord server (guild) to analyze. |
| Time Range (Days) | Number of days to analyze messages for sentiment, ranging from 1 to 30 days. |
| Additional Options | Optional parameters to customize the analysis, including whether to include bot messages, minimum messages for analysis, inclusion of attachments, spam threshold for flagging, inactive days to flag users, and maximum items to process. |
Output
JSON
guildId- The ID of the Discord server analyzed.timeRange- The number of days over which the sentiment analysis was performed.sentimentSummary- Summary of sentiment trends detected in the messages, such as positive, negative, or neutral sentiment scores.detailedSentimentData- Detailed data on sentiment analysis results, potentially including sentiment scores per message or user.
Dependencies
- Discord API access via a bot token credential
Troubleshooting
- Ensure the provided Guild ID is correct and the bot has access to the guild.
- Verify that the bot token credential is valid and has the necessary permissions to read messages and member data.
- If the channel or guild is not found or not text-based, the node will throw an error; verify channel IDs and types.
- Large time ranges or high max limits may cause performance issues or timeouts; consider reducing these values.