Send direct message
send_dmSend a direct message from the bot to any member in a shared server. Handles closed DMs gracefully with a clear error.
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 |