discord_moderation
Manages Discord server moderation by listing bans, checking ban details, banning or unbanning users, and performing bulk bans through the Discord API.
Instructions
Discord moderation. Actions: bans, ban_info, ban, unban, bulk_ban. Call discord_help with group="moderation" 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. |