Functionalities
Other
$getBlackList
Returns a list of blacklisted users/servers ID's that are stored in the bot's database (if any).

FUNCTION USAGE

  • $getBlackList[type]
  • $getBlackList[type;placeholders]
  • $getBlackList[type;placeholders;amount]

Properties:

type - Valid types are: users or guilds. placeholders: for users type: {id} - ID of the user. {name} - Name of the user. {tag} - Tag of the user. for guilds type: {id} - ID of the guild. {name} - Name of the guild. {members} - Number of members the guild has. amount - Lists up to the amount of blacklisted objects in the database. Defaults to 10.

Example 1: Returns
1
bot.Command({
2
name: "server-blacklist",
3
code: `
4
$getBlackList[servers;{name}: {members}]
5
`
6
})
Copied!
Example 2:
1
bot.Command({
2
name: "user-blacklist",
3
code: `
4
$getBlackList[users;{id} - {tag}]
5
`
6
})
Copied!
Example 3:
1
bot.Command({
2
name: "user-blacklist",
3
code: `
4
$getBlackList[users;{id} - {tag};20]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: