Sign In

$roleHasPerms[]

Returns whether the role has all specified perms

v2.6.0+ Requires Brackets

Usage

$roleHasPerms[;;]
Also callable as
$hasRolePerms

Arguments

NameTypeRequiredDescription
guild ID
GuildYesThe guild to pull the role from
role ID
RoleYesThe role to get its perms
...perms
YesThe perms to check for

Output

Boolean

Was this page helpful?