ban_member
Ban a user from a Discord server by providing the server ID and user ID. Optionally set a reason and the number of days of messages to delete.
Instructions
Ban a user from the server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | ||
| user_id | Yes | ||
| reason | No | Audit log reason (optional) | |
| delete_message_days | No | Days of messages to delete (0–7, optional) |