discord_list_bans
Retrieve banned users from a Discord server with the reason recorded for each, returning a Markdown table or JSON list. Requires Ban Members permission.
Instructions
List banned users and the reason recorded for each. Needs Ban Members.
Returns: Markdown table (user, reason) or JSON list of {user_id, username, reason}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| guild_id | No | Server (guild) ID. Omit to use DISCORD_GUILD_ID from .env. | |
| response_format | No | 'markdown' for reading, 'json' for full structured data. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |