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


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


  • Permissions (Type: Permission || Flag: Emptiable): The permissions that the bot needs to run the command. Use semicolons ; as a separator to separate multiple permissions.
  • Error message (Type: String || Flag: Emptiable): The message to return when the bot doesn't have all the provided permissions.


$onlyBotPerms[sendmessages;embedlinks;❌ Missing permissions!]
$description[Hey! I have `Embed links` permission.]