Discord Advanced icon

Discord Advanced

Advanced Discord tools - Analytics, Moderation, Backup, and Automation

Overview

This node provides advanced Discord server management tools, including analytics, moderation, backup, automation, and insights. Specifically, the 'Mass DM Users' operation under the 'Automation' resource allows sending direct messages to multiple users in a Discord server. This is useful for server administrators who want to broadcast messages or announcements directly to selected users. For example, sending event notifications or important updates to a list of user IDs.

Use Case Examples

  1. Sending a welcome message to new members by specifying their user IDs.
  2. Broadcasting an announcement to a group of users about upcoming server events.

Properties

Name Meaning
Guild ID The ID of the Discord server (guild) where the operation will be performed.
User IDs Comma-separated list of user IDs to whom the direct messages will be sent.
Message Content The content of the message to send to the specified users.
Additional Options Optional parameters to customize behavior such as including bots, minimum messages for analysis, spam threshold, inactive days, and max limit for processing.

Output

JSON

  • totalUsers - Total number of user IDs processed for sending messages.
  • successful - Count of users who successfully received the direct message.
  • failed - Count of users for whom the message sending failed.
  • results - Array of results for each user including userId, username, success status, and error message if any.

Dependencies

  • Discord API

Troubleshooting

  • Common issues include invalid or incorrect user IDs which cause message sending failures.
  • Discord API rate limits may cause delays or failures when sending many messages in bulk.
  • Bot permissions must include the ability to send direct messages to users; otherwise, messages will fail.
  • Error messages typically indicate the reason for failure such as missing permissions, invalid user ID, or network issues. Users should verify credentials and permissions.

Links

Discussion