v5.0.0
$blackListIDs
Blocks the specified IDs from running the command.
This function will allow that the commands cannot be executed by certain users, you must indicate them by their user ID.

Fields

This function has 2 required fields
  1. 1.
    UserID (Required)
  2. 2.
    UserID 2 (Optional)
  3. 3.
    Etc (Optional)
  4. 4.
    Error (Required)
Raw Usage: $blackListIDs[userID;userID2;...;error message]

Options

  • UserID - The user(s) we are blacklisting from the command
  • Error - The error message when a blacklisted user runs the command

Usage

1
bot.command({
2
name: "free-cookies",
3
code: `
4
Take a cookie! πŸͺ
5
$blackListIDs[608358453580136499;You cant take free cookies Leref, you ate too much cookies today:(]
6
`
7
});
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub