$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

User04/23/2025
!!exec $usersBanned
Custom Command Bot 04/23/2025
user, user1, user2

Permissions

Make sure that the bot does have sufficient permission.

Function difficulty: Easy
Tags: ban punish member moderation moderator