$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 administrator. F in the chat!]
You aren't a admin!