List Bans

List Bans

This command (list_bans) returns a list of users banned from the server. Will print usernames up until the response character limit. To get an accurate count of users banned or get a CSV of all users banned (instead of just the first ~100), use export_bans instead.

Permissions

Bot Permissions

  • The bot must have the BAN_MEMBERS permission.

Parameters

ephemeral

Optional. Whether other server members should be able to see the bot's response. Does not affect logging.

Cooldown

Like other commands, cooldowns operate at the server level. The cooldown values are:

BasicStandardAdvanced
1 hour30 minutes15 minutes