Custom Command
FunctionsMember Functions

$usersBanned

Returns a list of users banned from the current server.

Usage

$usersBanned[type;separator]
  1. type - (Optional) default value: username. Can be id, username or mention. What format of returned users do you want.
  2. separator - (Optional) default value: , . The separator used for creating the list of users.

Example

Using $usersBanned

How to use $usersBanned

Member
9/5/2026

!!exec $usersBanned

Custom Command
APP
9/5/2026

user, user1, user2

Permissions

Make sure that the bot does have sufficient permission.

Related Functions: $ban $unban

Function difficulty: Easy

Tags: Ban Punish Member Moderation Moderator

Function Cooldown

This function has built-in cooldown. Why? Read more about cooldowns here.

  • Cooldown: 4 minutes
  • Tracked By: id
  • Type: fetchuser

Functions with the same type share cooldowns based on the same Tracked By value.

On this page