discord_bulk_delete_messages
Delete multiple recent Discord messages in bulk with a safety dry-run preview. After preview, re-call with dry_run:false to permanently delete. Only messages under 14 days old are removed. Requires Manage Messages permission.
Instructions
Permanently delete multiple recent messages in one call. IRREVERSIBLE. SAFE BY DEFAULT: dry_run is true unless explicitly set to false, so call it first to preview, then re-call with dry_run:false to actually delete. Discord only allows bulk-deleting messages younger than 14 days; older ones are skipped. Requires the Manage Messages permission. Returns the number deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of recent messages to delete (2–100). | |
| dry_run | No | If true (default), only reports how many would be deleted without deleting. Set false to actually delete. | |
| channel_id | Yes | ID (snowflake) of the channel or thread to delete messages from. |