Sign In

$channelHasAnyPerms[]

Returns whether role or member has any of the perms in a channel

v1.4.0+ Requires Brackets

Usage

$channelHasAnyPerms[;;]
Also callable as
$channelHasAnyPerm

Arguments

NameTypeRequiredDescription
channel ID
ChannelYesThe channel to get perms from
id
StringYesThe role or user to get perms of
...permissions
YesThe perms to check for

Output

Boolean

Was this page helpful?