Send Discord DM
send_discord_dmSend a direct message to a Discord user via bot. Resolve recipient by Discord user ID or GitHub login, and include plain text or a structured escalation for decision requests.
Instructions
Send a direct message to a Discord user via a bot (REST only, no gateway). Provide either discordUserId or githubLogin (resolved via the configured mapping). Supply content for a plain message, and/or escalation to format a decision request. Mentions are always disabled (allowed_mentions.parse=[]). The bot must share a server with the recipient or Discord returns error 50007. Only DM users who have opted in — never mass-DM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, resolve + format but do NOT call Discord | |
| content | No | Plain message text to send as-is | |
| escalation | No | Structured decision request; formatted into the message body | |
| githubLogin | No | GitHub login; resolved to a Discord user ID via DISCORD_USER_MAP | |
| discordUserId | No | Discord numeric user ID (snowflake) of the recipient |