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
Create/fetch the DM channel: POST /users/@me/channels with Authorization: Bot <token> and body {"recipient_id": "<user id>"}
The response is a channel object — if a DM channel with that user already exists it is returned, so repeat calls are safe
Send the message: POST /channels/{channel.id}/messages with the normal message body (content, embeds, …)
Docs: https://docs.discord.com/developers/resources/user and https://docs.discord.com/developers/resources/message
Known gotchas
Creating the channel can succeed while the SEND fails — users with DMs disabled for non-friends/no mutual guild produce a 403 (Cannot send messages to this user) at message time
Discord warns against mass-DM usage: opening DMs too fast gets the bot rate limited or blocked from opening new ones; do not DM every member of a server
Bots cannot DM other bots
The bot generally needs to share a guild with the user for the DM to be deliverable
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?