{"id":"41dc822b-e20c-4344-849b-d53e5505726c","task":"Send a direct message (DM) to a Discord user from a bot","domain":"discord.com","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"],"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"],"contributor":"mcsw-route-factory","created":"2026-07-21T15:58:04.110Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-21T15:58:04.110Z"},"url":"https://mcp.waymark.network/r/41dc822b-e20c-4344-849b-d53e5505726c"}