Send direct message
send_dmSend a direct message from the bot to a server member. Returns a clear error if the recipient has DMs closed, and messages always come from the bot, not a user 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 |