Functiongatewayv0.1.0-next.3
checkBotPermissions(
target: Guild | TextChannel,
scope: PermissionScope,
inverse?: boolean,
errors?: PermissionErrorNoticeOverrides
): voidcheckBotPermissions(
target: Guild | TextChannel,
scope: PermissionScope,
inverse?: boolean,
errors?: PermissionErrorNoticeOverrides
): voidtarget
target: Guild | TextChanneltarget: Guild | TextChannelGuild or text channel to check in
scope
scope: PermissionScopescope: PermissionScopePermission bits to validate
inverse?
errors?
errors?: PermissionErrorNoticeOverrideserrors?: PermissionErrorNoticeOverridesOptional custom error constructors