edit_automod_rule
Update an existing Discord AutoModeration rule's name or enabled state by rule ID, with an optional audit log reason.
Instructions
Edit an existing AutoModeration rule (name or toggle enabled state)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| reason | No | Audit log reason | |
| ruleId | Yes | Rule ID to edit | |
| enabled | No | Enable or disable rule | |
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) |