Skip to content

$usersBanned

$usersBanned will return the banned users of a guild.

Usage

$usersBanned[guildID?;force?;option?;sep?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe guild ID.false
force?boolean1. true
2. false (default)
false
option?stringHow to return the banned users
1. id (default)
1. username
1. mention
false
sep?stringSeparator to separate multiple returned values.false

Example(s)

This will return the banned users of your guild as mention in an embed:

1
client.command({
2
name: "usersBanned",
3
code: `
4
$description[$usersBanned[$guildID;false;mention;, ]]
5
`
6
});