discord_moderate_member
Moderate a Discord member: kick, ban, unban, timeout, or remove timeout. Confirm destructive actions.
Instructions
Moderate a member: kick, ban, unban, timeout (mute for N minutes) or untimeout. Needs Kick/Ban/Moderate Members. Destructive: confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | No | Reason shown in the server audit log (optional) | |
| user_id | Yes | User ID | |
| guild_id | Yes | Server (guild) ID | |
| timeout_minutes | No | For timeout: 1-40320 (28 days) | |
| delete_message_seconds | No | For ban: also delete their messages from the last N seconds (max 604800) |