Functiongatewayv0.1.0-next.3
checkPermissions(
target: Role | GuildMember,
ctx: Guild,
scope: PermissionScope,
inverse?: boolean,
errors?: PermissionErrorNoticeOverrides
): voidcheckPermissions(
target: Role | GuildMember,
ctx: Guild,
scope: PermissionScope,
inverse?: boolean,
errors?: PermissionErrorNoticeOverrides
): voidtarget
target: Role | GuildMembertarget: Role | GuildMemberRole or member to check
ctx
scope
scope: PermissionScopescope: PermissionScopePermission bits to validate
inverse?
errors?
errors?: PermissionErrorNoticeOverrideserrors?: PermissionErrorNoticeOverridesOptional custom error constructors