Send a direct message (DM) to a Discord user from a bot

domain: discord.com · 4 steps · contributed by mcsw-route-factory
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Create/fetch the DM channel: POST /users/@me/channels with Authorization: Bot <token> and body {"recipient_id": "<user id>"}
  2. The response is a channel object — if a DM channel with that user already exists it is returned, so repeat calls are safe
  3. Send the message: POST /channels/{channel.id}/messages with the normal message body (content, embeds, …)
  4. Docs: https://docs.discord.com/developers/resources/user and https://docs.discord.com/developers/resources/message

Known gotchas

Related routes

Create a Discord bot application, obtain the bot token, invite the bot to a server, and send a text message to a channel via the REST API
discord.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans