Interfaceseedcordv0.10.6
PermissionErrorCtors
Optional custom error constructors for CheckPermissionOptionsCheckPermissionOptions.
interface PermissionErrorCtorsinterface PermissionErrorCtorsdangerous: new (message: string, target: Role | TextChannel | Guild | GuildMember, dangerousPerms: string[]) => CustomErrordangerous: new (message: string, target: Role | TextChannel | Guild | GuildMember, dangerousPerms: string[]) => CustomErrormissing: new (message: string, where: Role | TextChannel | Guild | GuildMember, missingPerms: string[]) => CustomErrormissing: new (message: string, where: Role | TextChannel | Guild | GuildMember, missingPerms: string[]) => CustomError