Discord User Tool icon

Discord User Tool

Discord operations for AI Agents. Send/read messages, manage servers, and interact with Discord. Use this when you need to communicate on Discord or get Discord information.

Send Direct Message

AI-generated

Summary

Send a direct message to a Discord user.

Inputs

  • userId (required) — The Discord user ID (right-click user > Copy ID with Developer Mode enabled)
  • content (required) — The text content of your message

Output shape

array of objects

Each input item produces one output object describing the sent message or an error if the node fails and continueOnFail is disabled. On success the object contains: operation (always 'sendDM'), success (true), messageId (the ID of the sent DM), recipientId (the userId provided), recipientUsername (the username of the target user), content (the message text that was sent), timestamp (ISO‑8601 string of when the message was created).

Examples

Example 1: Send a simple greeting to a user.

Set Operation to 'Send Direct Message', provide a valid Discord User ID in the User ID field, and type the desired message in Message Content.

Links

Discussion