The command can only be executed if the user running the command has all of the provided permissions.


$onlyPerms[Permissions;...;Error message]


  • Permissions (Type: Permission || Flag: Emptiable): The required permissions. Use semicolons ; as a separator to separate multiple permissions.
  • Error message (Type: String || Flag: Emptiable): The message that is returned when the user is missing the required permissions.


$onlyPerms[kick;❌ You need the `kick` permission to use this command!]