UNPKG

@sapphire/framework

Version:

Discord bot framework built for advanced and amazing bots.

80 lines (79 loc) 5.12 kB
//#region src/lib/errors/Identifiers.ts let Identifiers = /* @__PURE__ */ function(Identifiers$1) { Identifiers$1["ArgsMissing"] = "argsMissing"; Identifiers$1["ArgsUnavailable"] = "argsUnavailable"; Identifiers$1["ArgumentBooleanError"] = "booleanError"; Identifiers$1["ArgumentChannelError"] = "channelError"; Identifiers$1["ArgumentDateError"] = "dateError"; Identifiers$1["ArgumentDateTooEarly"] = "dateTooEarly"; Identifiers$1["ArgumentDateTooFar"] = "dateTooFar"; Identifiers$1["ArgumentDMChannelError"] = "dmChannelError"; Identifiers$1["ArgumentEmojiError"] = "emojiError"; Identifiers$1["ArgumentFloatError"] = "floatError"; Identifiers$1["ArgumentFloatTooLarge"] = "floatTooLarge"; Identifiers$1["ArgumentFloatTooSmall"] = "floatTooSmall"; Identifiers$1["ArgumentGuildError"] = "guildError"; Identifiers$1["ArgumentGuildCategoryChannelError"] = "categoryChannelError"; Identifiers$1["ArgumentGuildChannelError"] = "guildChannelError"; Identifiers$1["ArgumentGuildChannelMissingGuildError"] = "guildChannelMissingGuildError"; Identifiers$1["ArgumentGuildNewsChannelError"] = "guildNewsChannelError"; Identifiers$1["ArgumentGuildNewsThreadChannelError"] = "guildNewsThreadChannelError"; Identifiers$1["ArgumentGuildPrivateThreadChannelError"] = "guildPrivateThreadChannelError"; Identifiers$1["ArgumentGuildPublicThreadChannelError"] = "guildPublicThreadChannelError"; Identifiers$1["ArgumentGuildStageVoiceChannelError"] = "guildStageVoiceChannelError"; Identifiers$1["ArgumentGuildTextChannelError"] = "guildTextChannelError"; Identifiers$1["ArgumentGuildThreadChannelError"] = "guildThreadChannelError"; Identifiers$1["ArgumentGuildVoiceChannelError"] = "guildVoiceChannelError"; Identifiers$1["ArgumentHyperlinkError"] = "hyperlinkError"; Identifiers$1["ArgumentIntegerError"] = "integerError"; Identifiers$1["ArgumentIntegerTooLarge"] = "integerTooLarge"; Identifiers$1["ArgumentIntegerTooSmall"] = "integerTooSmall"; Identifiers$1["ArgumentMemberError"] = "memberError"; Identifiers$1["ArgumentMemberMissingGuild"] = "memberMissingGuild"; Identifiers$1["ArgumentMessageError"] = "messageError"; Identifiers$1["ArgumentNumberError"] = "numberError"; Identifiers$1["ArgumentNumberTooLarge"] = "numberTooLarge"; Identifiers$1["ArgumentNumberTooSmall"] = "numberTooSmall"; Identifiers$1["ArgumentRoleError"] = "roleError"; Identifiers$1["ArgumentRoleMissingGuild"] = "roleMissingGuild"; Identifiers$1["ArgumentStringTooLong"] = "stringTooLong"; Identifiers$1["ArgumentStringTooShort"] = "stringTooShort"; Identifiers$1["ArgumentUserError"] = "userError"; Identifiers$1["ArgumentEnumEmptyError"] = "enumEmptyError"; Identifiers$1["ArgumentEnumError"] = "enumError"; Identifiers$1["CommandDisabled"] = "commandDisabled"; Identifiers$1["PreconditionCooldown"] = "preconditionCooldown"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionDMOnly"] = "preconditionDmOnly"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionGuildNewsOnly"] = "preconditionGuildNewsOnly"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionGuildNewsThreadOnly"] = "preconditionGuildNewsThreadOnly"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionGuildOnly"] = "preconditionGuildOnly"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionGuildPrivateThreadOnly"] = "preconditionGuildPrivateThreadOnly"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionGuildPublicThreadOnly"] = "preconditionGuildPublicThreadOnly"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionGuildTextOnly"] = "preconditionGuildTextOnly"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionGuildVoiceOnly"] = "preconditionGuildVoiceOnly"; Identifiers$1["PreconditionNSFW"] = "preconditionNsfw"; Identifiers$1["PreconditionClientPermissions"] = "preconditionClientPermissions"; Identifiers$1["PreconditionClientPermissionsNoClient"] = "preconditionClientPermissionsNoClient"; Identifiers$1["PreconditionClientPermissionsNoPermissions"] = "preconditionClientPermissionsNoPermissions"; Identifiers$1["PreconditionRunIn"] = "preconditionRunIn"; Identifiers$1["PreconditionUserPermissions"] = "preconditionUserPermissions"; Identifiers$1["PreconditionUserPermissionsNoPermissions"] = "preconditionUserPermissionsNoPermissions"; /** @deprecated Use {@link PreconditionRunIn} instead. */ Identifiers$1["PreconditionThreadOnly"] = "preconditionThreadOnly"; Identifiers$1["PreconditionUnavailable"] = "preconditionUnavailable"; Identifiers$1["PreconditionMissingMessageHandler"] = "preconditionMissingMessageHandler"; Identifiers$1["PreconditionMissingChatInputHandler"] = "preconditionMissingChatInputHandler"; Identifiers$1["PreconditionMissingContextMenuHandler"] = "preconditionMissingContextMenuHandler"; return Identifiers$1; }({}); //#endregion export { Identifiers }; //# sourceMappingURL=Identifiers.mjs.map