description |
---|
Blocks the specified server IDs from running the command |
This function will allow that the commands cannot be executed in certain servers, you must indicate every server you want in the blacklist with the server ID.
This function has 2 required fields
- ServerID (Required)
- ServerID 2 (Optional)
- Etc (Optional)
- Error (Required)
Raw Usage: $blackListServerIDs[serverID;serverID 2;...;error message]
- ServerID - The server(s) that are blacklisted from running the command
- Error - The error message that appears when a user runs the command in a blacklisted server
bot.command({
name: "example",
code: `
This is just an example!
$blackListServerIDs[747910005650489546;Moderation commands can't be executed in the Aoi.JS Testing server.]
`
});