Delete thread
delete_threadPreview thread deletion with a confirm token, then confirm to permanently delete the thread and its messages. Archival offers a reversible alternative.
Instructions
Delete a thread and its messages. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it. Archiving is the reversible alternative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| thread | Yes | Thread name or ID. | |
| dry_run | No | ||
| confirm_token | No |