discord_list_bans
List banned users from a Discord server with their ban reasons. Supports pagination up to 1000 bans per page.
Instructions
List the users banned from the server, with their ban reasons. Returns { bans: [...], nextCursor }. A page holds up to 1000 bans; if nextCursor is non-null, pass it back as after to fetch the next page. Requires the Ban Members permission. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| limit | No | Max bans per page (1–1000). Default 1000. | |
| after | No | Pagination cursor: a user ID (snowflake). Pass the previous response's nextCursor to fetch the next page. |