$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
Admin perms?: $checkUserPerms[$authorID;admin]
!example Admin perms?: false !example Admin perms?: true Yay! I have admin perms😎

What is this?

How $authorID works?