discord_automod
Manage Discord AutoMod rules: list, get, create, edit, or delete filters to moderate server content.
Instructions
Discord automod. Actions: list, get, create, edit, delete. Call discord_help with group="automod" and action for required IDs, request fields, limits and examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Discord JSON payload. Get the action schema with discord_help. Images support {$file:"relative.png"}; sound uses {$file:"sound.mp3",$kind:"audio"}. | |
| files | No | Files under DISCORD_ASSET_DIR. Sent as Discord multipart attachments. | |
| query | No | Query parameters supported by this action; see discord_help. | |
| action | Yes | ||
| params | No | Route IDs, e.g. {guild_id,channel_id,message_id,user_id}. guild_id can default from configuration; application_id defaults to the bot. | |
| reason | No | Human-readable audit log reason for a server change. |