discord_delete_message
Permanently delete one Discord message by channel and message ID, with optional audit reason and approval before the destructive action.
Instructions
Permanently delete a single message from a channel or thread. To delete between 2 and 100 recent messages at once use discord_bulk_delete_messages. Returns a confirmation object with the deleted message and channel IDs. Bot permissions it may need: View Channel, Manage Messages. Destructive: the user is asked to approve the exact change before it runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason sent in the X-Audit-Log-Reason header (up to 512 characters) | |
| channel_id | Yes | ID of the channel or thread that holds the message | |
| message_id | Yes | ID of the message |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| channel_id | Yes | Discord snowflake ID as a numeric string | |
| message_id | Yes | Discord snowflake ID as a numeric string |