Functionalities
Other
$fetchBans
Returns a given number of users that are banned from the current guild, with the reasons why they were banned. Optionally define a separator to separate each user data. Default is a new line.

FUNCTION USAGE

  • $fetchBans[number]
  • $fetchBans[number;separator]

Properties:

number - Define a specific number of banned users to return! separator - Each user and reason is separated by a new line by default. Define a custom separator to separate each user data.

Example 1: Returns 5 users that is banned from the guild.

1
bot.Command({
2
name: "fetch",
3
code: `
4
$fetchBans[5]
5
`
6
})
Copied!

Example 2: Returns 5 users that is banned from the guild with a custom separator.

1
bot.Command({
2
name: "fetch",
3
code: `
4
$fetchBans[5; -- ]
5
`
6
})
Copied!
Last modified 5mo ago
Copy link
Contents
Properties: