Send direct message
send_dmSend a direct message from your Discord bot to a server member. Handles cases where the recipient has DMs disabled, ensuring the message originates from the bot account.
Instructions
Send a direct message from the bot to a member who shares a server with it. Fails gracefully when the recipient has DMs closed. The message comes from the bot, never from a user account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Member name or user ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| content | Yes |