$hasPerms

Check if given user ID has the provided perms

Usage:

$hasPerms[userID;perms1;perm2;...]


Member08/02/2024
!!exec $hasPerms[$authorID;sendmessages]
Custom Command Bot 08/02/2024
true

Permissions

Check this list to view all permissions names

Related Functions

$rolePerms, to check if a role has certain perms

$userPerms, to return ALL user's permissions

Function difficulty: Medium
Tags: member perms permissions rights hadPerms