discord_delete_automod_rule
Permanently delete a Discord AutoMod rule by guild and rule ID, optionally logging an audit reason. Use when a rule is no longer needed; removal cannot be undone.
Instructions
Delete an AutoMod rule. IRREVERSIBLE: the rule and its configuration are gone. Requires Manage Server. There is no preview: deleting an AutoMod rule cannot lose member data, and Discord does not offer an undo, so the tool reports exactly which rule was removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the audit log. | |
| rule_id | Yes | ID of the AutoMod rule to delete. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| deleted | Yes |