Interfaceseedcordv0.10.6
CheckPermissionOptions
Options for checkPermissionscheckPermissions.
See also:PermissionErrorCtors
interface CheckPermissionOptions extends PermissionErrorCtorsinterface CheckPermissionOptions extends PermissionErrorCtors- optional
dangerous
dangerous: new (message: string, target: Role | TextChannel | Guild | GuildMember, dangerousPerms: string[]) => CustomErrordangerous: new (message: string, target: Role | TextChannel | Guild | GuildMember, dangerousPerms: string[]) => CustomErrorInherited from:PermissionErrorCtors
for: Role | GuildMemberfor: Role | GuildMemberin: Guild | TextChannelin: Guild | TextChannel- optional
missing
missing: new (message: string, where: Role | TextChannel | Guild | GuildMember, missingPerms: string[]) => CustomErrormissing: new (message: string, where: Role | TextChannel | Guild | GuildMember, missingPerms: string[]) => CustomErrorInherited from:PermissionErrorCtors
scope: BotPermissionScope;scope: BotPermissionScope;