Interfaceseedcordv0.10.6
AssignRoleErrorCtors
Optional custom error constructors for HasPermsToAssignOptionsHasPermsToAssignOptions.
interface AssignRoleErrorCtorsinterface AssignRoleErrorCtorshigher: new (message: string, role: Role, botRole: Role) => CustomErrorhigher: new (message: string, role: Role, botRole: Role) => CustomErrormanaged: new (message: string) => CustomErrormanaged: new (message: string) => CustomErrormissing: new (message: string, where: Role | TextChannel | Guild | GuildMember, missingPerms: string[]) => CustomErrormissing: new (message: string, where: Role | TextChannel | Guild | GuildMember, missingPerms: string[]) => CustomError