discord_members
Manage Discord server members by listing, searching, editing, assigning or removing roles, kicking, and pruning inactive users through bot actions with audit reasons.
Instructions
Discord members. Actions: list, get, search, edit, edit_me, add_role, remove_role, kick, prune_count, prune. Call discord_help with group="members" 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. |