Delete AutoMod rule
delete_automod_ruleDelete a Discord AutoMod rule to stop its protection immediately. Preview the action first, then confirm with a token to finalize; use disabling for a reversible alternative.
Instructions
Delete an AutoMod rule; its protection stops immediately. 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. Disabling is the reversible alternative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | Rule name or ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| dry_run | No | ||
| confirm_token | No |