$checkUserPerms
Returns “true” if a user has all of the provided permissions, otherwise “false” is returned.
Syntax
$checkUserPerms[User ID;Permissions]
Parameters
User ID
(Type: Snowflake || Flag: Required)
: The user that the bot checks the permissions for.Permissions
(Type: Permission || Flag: Required)
: The permissions that the bot checks for. Separate permissions using;
.
Example
$nomention
$onlyIf[$checkUserPerms[$authorID;admin]==false;You can't use this command, because you are an administrator.]
You aren't an admin!