Sign In

$roleHasAnyPerms[]

Returns whether the role has any of the specified perms

v2.6.0+ Requires Brackets

Usage

$roleHasAnyPerms[;;]
Also callable as
$hasRoleAnyPerms

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?