Enumerrorsv0.2.1-next.1SeedcordErrorCodeAll Seedcord error codes. enum SeedcordErrorCodeenum SeedcordErrorCodeMembersAutocompleteMatchArmMissingAutocompleteMatchArmMissing= 1611An autocomplete handler's match() has no arm for the focused field that fired. CliBootstrapWriteFailedCliBootstrapWriteFailed= 3118Unable to write the generated bootstrap file. CliBuildFailedCliBuildFailed= 3117TypeScript reported diagnostics during emit. CliBuildTsconfigNotFoundCliBuildTsconfigNotFound= 3116Unable to locate a TypeScript config file for builds. CliCancelledCliCancelled= 3129An interactive prompt was cancelled (Ctrl-C), so the command aborts without changes. CliCleanAppFetchFailedCliCleanAppFetchFailed= 3126Could not resolve the application from the bot token during commands --cleancommands --clean. CliCleanApplyNeedsYesCliCleanApplyNeedsYes= 3131commands --clean --applycommands --clean --apply ran in a non-interactive environment without --yes--yes, where it cannot prompt. CliCleanLargeBotUnconfirmedCliCleanLargeBotUnconfirmed= 3130commands --clean --all-guildscommands --clean --all-guilds matched more guilds than the safety threshold without --yes--yes. CliCleanNoGuildsCliCleanNoGuilds= 3127commands --cleancommands --clean ran with neither --guild nor --all-guilds, so there is nothing to scan. CliCleanPurgeAllGuildsCliCleanPurgeAllGuilds= 3128commands --cleancommands --clean combined --purge with --all-guilds, which would wipe every guild. CliCodegenCommandsDirUnreadableCliCodegenCommandsDirUnreadable= 3123The commands directory could not be read during codegen. CliCodegenDuplicateContextMenuCliCodegenDuplicateContextMenu= 3124Two context-menu commands of the same kind share a name during codegen. CliCodegenDuplicateRouteCliCodegenDuplicateRoute= 3122Two commands resolve to the same slash route during codegen. CliConfigEntryOutsideRootCliConfigEntryOutsideRoot= 3115Entry file must be inside the configured root directory. CliConfigInvalidBuildCliConfigInvalidBuild= 3111Config build options must be an object when provided. CliConfigInvalidBuildBootstrapCliConfigInvalidBuildBootstrap= 3114Config build bootstrap must be a string when provided. CliConfigInvalidBuildOutDirCliConfigInvalidBuildOutDir= 3112Config build outDir must be a string when provided. CliConfigInvalidBuildTsconfigCliConfigInvalidBuildTsconfig= 3113Config build tsconfig must be a string when provided. CliConfigInvalidExportCliConfigInvalidExport= 3101Config file default export was not an object. CliConfigInvalidHmrCliConfigInvalidHmr= 3120Config hmr options must be an object when provided. CliConfigInvalidHmrRestartCliConfigInvalidHmrRestart= 3121Config hmr restart patterns must be an array of strings when provided. CliConfigInvalidRootCliConfigInvalidRoot= 3103Config root was provided but not a string. CliConfigInvalidTsconfigCliConfigInvalidTsconfig= 3119Config tsconfig must be a string when provided. CliConfigMissingEntryCliConfigMissingEntry= 3110Config is missing the required entry string. CliConfigMissingInstanceCliConfigMissingInstance= 3102Config is missing the required instance string. CliConfigNotFoundCliConfigNotFound= 3104Unable to locate a Seedcord config file. CliEntryNotFoundCliEntryNotFound= 3105CLI entry file does not exist. CliImportFailedCliImportFailed= 3107Native import and jiti fallback both failed. CliInstanceInvalidCliInstanceInvalid= 3108Seedcord instance export is missing a start() method. CliStartFailedCliStartFailed= 3109Seedcord instance threw during startup. CliTsxImportFailedCliTsxImportFailed= 3106tsx failed to import the provided entry file. ConfigEmojiUnresolvedConfigEmojiUnresolved= 1007One or more configured emojis could not be resolved at startup. ConfigHandledExceptionWebhookInvalidConfigHandledExceptionWebhookInvalid= 1006HANDLED_EXCEPTION_WEBHOOK_URL is present but fails URL validation. ConfigHandledExceptionWebhookMissingConfigHandledExceptionWebhookMissing= 1005HANDLED_EXCEPTION_WEBHOOK_URL is missing when configuring the reporter. ConfigIncorrectDiscordTokenConfigIncorrectDiscordToken= 1004DISCORD_BOT_TOKEN is present but fails validation. ConfigMissingDiscordTokenConfigMissingDiscordToken= 1001DISCORD_BOT_TOKEN is not present in the environment. ConfigUnknownExceptionWebhookInvalidConfigUnknownExceptionWebhookInvalid= 1003UNKNOWN_EXCEPTION_WEBHOOK_URL is present but fails URL validation. ConfigUnknownExceptionWebhookMissingConfigUnknownExceptionWebhookMissing= 1002UNKNOWN_EXCEPTION_WEBHOOK_URL is missing when configuring the reporter. CoreBotRoleMissingCoreBotRoleMissing= 1204Bot role lookup failed within the provided guild. CoreControllerPathMissingCoreControllerPathMissing= 1205A bot controller was constructed without its required handlers directory. CorePluginAfterInitCorePluginAfterInit= 1202Plugins cannot be mutated after the core has finished initializing. CorePluginKeyExistsCorePluginKeyExists= 1203A plugin tried to register with a key that already exists. CoreSingletonViolationCoreSingletonViolation= 1201Multiple Seedcord instances were created simultaneously. CustomIdDuplicateFieldNameCustomIdDuplicateFieldName= 1607A field name is declared more than once in the same customId chain. CustomIdEmptyChoicesCustomIdEmptyChoices= 1603A oneOf() field was declared with no choices. CustomIdHandlerRouteMissingCustomIdHandlerRouteMissing= 1608A component handler is missing its route decorator (@ButtonRoute / @ModalRoute / @SelectMenuRoute). CustomIdInvalidBoundsCustomIdInvalidBounds= 1604An int() field was declared with min greater than max. CustomIdInvalidPrefixCustomIdInvalidPrefix= 1601A customId definition prefix contains a reserved character (a colon or a control char). CustomIdMatchArmMissingCustomIdMatchArmMissing= 1609match() received a decoded route with no matching arm. CustomIdReservedFieldNameCustomIdReservedFieldName= 1602A customId field name is integer-like, which JS would silently reorder. CustomIdValueOutOfRangeCustomIdValueOutOfRange= 1605A value passed to encode() is outside its field's allowed range. CustomIdWireTooLongCustomIdWireTooLong= 1606An encoded customId exceeds Discord's 100-character limit. DecoratorCommandAlreadyRegisteredDecoratorCommandAlreadyRegistered= 1303A command decorator attempted to re-register an existing command scope. DecoratorCommandGlobalWithGuildsDecoratorCommandGlobalWithGuilds= 1304A global command decorator specified guild IDs, which is not allowed. DecoratorCommandGuildWithoutGuildsDecoratorCommandGuildWithoutGuilds= 1305A guild command decorator omitted the required guild ID list. DecoratorInteractionEventFilterDecoratorInteractionEventFilter= 1301Interaction middleware decorated with disallowed event filters. DecoratorInvalidMiddlewarePriorityDecoratorInvalidMiddlewarePriority= 1306Middleware priority provided by the decorator was not a finite number. DecoratorMethodNotFoundDecoratorMethodNotFound= 1302A decorator could not find the original method being decorated. EventEmitterWaitForAbortedEventEmitterWaitForAborted= 1501StrictEventEmitter.waitFor was aborted via its AbortSignal. EventEmitterWaitForTimeoutEventEmitterWaitForTimeout= 1502StrictEventEmitter.waitFor exceeded its configured timeout. EventMatchArmMissingEventMatchArmMissing= 1612An event handler's match() has no arm for the event name that fired. EventMiddlewareNameUnavailableEventMiddlewareNameUnavailable= 1613Event middleware read this.eventNamethis.eventName but was constructed without a fired event name. GateInvalidCooldownDurationGateInvalidCooldownDuration= 1701A Cooldown gate was given a duration string that is not a well-formed positive duration. LifecycleAddAfterCompletionLifecycleAddAfterCompletion= 1101Attempted to add lifecycle tasks after startup already completed. LifecycleAddDuringRunLifecycleAddDuringRun= 1102Attempted to add lifecycle tasks while startup is still running. LifecyclePhaseFailuresLifecyclePhaseFailures= 1105Startup phase completed with one or more task failures. LifecycleRemoveDuringRunLifecycleRemoveDuringRun= 1103Attempted to remove lifecycle tasks while startup is still running. LifecycleTaskTimeoutLifecycleTaskTimeout= 1106A lifecycle task exceeded its configured timeout. LifecycleUnknownPhaseLifecycleUnknownPhase= 1104Provided lifecycle phase identifier is not recognized. PaginationDuplicateControlsPaginationDuplicateControls= 1804A control row repeats the same control, which would collide the custom_ids. PaginationEmptyControlsPaginationEmptyControls= 1803A control row was assembled with no controls. PaginationInvalidPerPagePaginationInvalidPerPage= 1801A paginator source was given a perPage that is not a positive integer. PaginationTooManyControlsPaginationTooManyControls= 1802A control row was assembled with more than the five buttons Discord allows. PluginKpgDisconnectFailedPluginKpgDisconnectFailed= 2209Postgres pool failed to close cleanly during shutdown. PluginKpgInvalidMigrationModulePluginKpgInvalidMigrationModule= 2207A migration module failed to export the expected functions. PluginKpgInvalidStepCountPluginKpgInvalidStepCount= 2203Migration manager received an invalid step count. PluginKpgNoMigrationFilesPluginKpgNoMigrationFiles= 2206No migration files were found for execution. PluginKpgNonErrorFailurePluginKpgNonErrorFailure= 2208An arbitrary (non-Error) failure was reported by a migration. PluginKpgServiceDecoratorMissingPluginKpgServiceDecoratorMissing= 2201KPG service class is missing the @RegisterKpgService@RegisterKpgService decorator. PluginKpgServicesNotReadyPluginKpgServicesNotReady= 2210KPG servicesservices was accessed before the plugin finished initializing. PluginKpgServiceTableMissingPluginKpgServiceTableMissing= 2202KPG service class is missing its table metadata. PluginKpgUnknownDirectionPluginKpgUnknownDirection= 2204Migration direction was not recognized. PluginKpgUnresolvedMigrationsPathPluginKpgUnresolvedMigrationsPath= 2205Provided migrations path could not be resolved. PluginMongoConnectionFailedPluginMongoConnectionFailed= 2103Mongo client failed to establish a connection. PluginMongoDisconnectFailedPluginMongoDisconnectFailed= 2104Mongo client failed to disconnect cleanly during shutdown. PluginMongoModelDecoratorMissingPluginMongoModelDecoratorMissing= 2102Mongo model class is missing the @RegisterMongoModel@RegisterMongoModel decorator. PluginMongoServiceDecoratorMissingPluginMongoServiceDecoratorMissing= 2101Mongo service class is missing the @RegisterMongoService@RegisterMongoService decorator. PluginMongoServicesNotReadyPluginMongoServicesNotReady= 2105Mongo servicesservices was accessed before the plugin finished initializing. SlashMatchArmMissingSlashMatchArmMissing= 1610A slash handler's match() has no arm for the command route that fired.
AutocompleteMatchArmMissingAutocompleteMatchArmMissing= 1611An autocomplete handler's match() has no arm for the focused field that fired.
CliBuildTsconfigNotFoundCliBuildTsconfigNotFound= 3116Unable to locate a TypeScript config file for builds.
CliCancelledCliCancelled= 3129An interactive prompt was cancelled (Ctrl-C), so the command aborts without changes.
CliCleanAppFetchFailedCliCleanAppFetchFailed= 3126Could not resolve the application from the bot token during commands --cleancommands --clean.
CliCleanApplyNeedsYesCliCleanApplyNeedsYes= 3131commands --clean --applycommands --clean --apply ran in a non-interactive environment without --yes--yes, where it cannot prompt.
CliCleanLargeBotUnconfirmedCliCleanLargeBotUnconfirmed= 3130commands --clean --all-guildscommands --clean --all-guilds matched more guilds than the safety threshold without --yes--yes.
CliCleanNoGuildsCliCleanNoGuilds= 3127commands --cleancommands --clean ran with neither --guild nor --all-guilds, so there is nothing to scan.
CliCleanPurgeAllGuildsCliCleanPurgeAllGuilds= 3128commands --cleancommands --clean combined --purge with --all-guilds, which would wipe every guild.
CliCodegenCommandsDirUnreadableCliCodegenCommandsDirUnreadable= 3123The commands directory could not be read during codegen.
CliCodegenDuplicateContextMenuCliCodegenDuplicateContextMenu= 3124Two context-menu commands of the same kind share a name during codegen.
CliCodegenDuplicateRouteCliCodegenDuplicateRoute= 3122Two commands resolve to the same slash route during codegen.
CliConfigEntryOutsideRootCliConfigEntryOutsideRoot= 3115Entry file must be inside the configured root directory.
CliConfigInvalidBuildCliConfigInvalidBuild= 3111Config build options must be an object when provided.
CliConfigInvalidBuildBootstrapCliConfigInvalidBuildBootstrap= 3114Config build bootstrap must be a string when provided.
CliConfigInvalidBuildOutDirCliConfigInvalidBuildOutDir= 3112Config build outDir must be a string when provided.
CliConfigInvalidBuildTsconfigCliConfigInvalidBuildTsconfig= 3113Config build tsconfig must be a string when provided.
CliConfigInvalidHmrRestartCliConfigInvalidHmrRestart= 3121Config hmr restart patterns must be an array of strings when provided.
CliConfigInvalidTsconfigCliConfigInvalidTsconfig= 3119Config tsconfig must be a string when provided.
CliConfigMissingInstanceCliConfigMissingInstance= 3102Config is missing the required instance string.
ConfigEmojiUnresolvedConfigEmojiUnresolved= 1007One or more configured emojis could not be resolved at startup.
ConfigHandledExceptionWebhookInvalidConfigHandledExceptionWebhookInvalid= 1006HANDLED_EXCEPTION_WEBHOOK_URL is present but fails URL validation.
ConfigHandledExceptionWebhookMissingConfigHandledExceptionWebhookMissing= 1005HANDLED_EXCEPTION_WEBHOOK_URL is missing when configuring the reporter.
ConfigIncorrectDiscordTokenConfigIncorrectDiscordToken= 1004DISCORD_BOT_TOKEN is present but fails validation.
ConfigMissingDiscordTokenConfigMissingDiscordToken= 1001DISCORD_BOT_TOKEN is not present in the environment.
ConfigUnknownExceptionWebhookInvalidConfigUnknownExceptionWebhookInvalid= 1003UNKNOWN_EXCEPTION_WEBHOOK_URL is present but fails URL validation.
ConfigUnknownExceptionWebhookMissingConfigUnknownExceptionWebhookMissing= 1002UNKNOWN_EXCEPTION_WEBHOOK_URL is missing when configuring the reporter.
CoreControllerPathMissingCoreControllerPathMissing= 1205A bot controller was constructed without its required handlers directory.
CorePluginAfterInitCorePluginAfterInit= 1202Plugins cannot be mutated after the core has finished initializing.
CorePluginKeyExistsCorePluginKeyExists= 1203A plugin tried to register with a key that already exists.
CoreSingletonViolationCoreSingletonViolation= 1201Multiple Seedcord instances were created simultaneously.
CustomIdDuplicateFieldNameCustomIdDuplicateFieldName= 1607A field name is declared more than once in the same customId chain.
CustomIdHandlerRouteMissingCustomIdHandlerRouteMissing= 1608A component handler is missing its route decorator (@ButtonRoute / @ModalRoute / @SelectMenuRoute).
CustomIdInvalidBoundsCustomIdInvalidBounds= 1604An int() field was declared with min greater than max.
CustomIdInvalidPrefixCustomIdInvalidPrefix= 1601A customId definition prefix contains a reserved character (a colon or a control char).
CustomIdMatchArmMissingCustomIdMatchArmMissing= 1609match() received a decoded route with no matching arm.
CustomIdReservedFieldNameCustomIdReservedFieldName= 1602A customId field name is integer-like, which JS would silently reorder.
CustomIdValueOutOfRangeCustomIdValueOutOfRange= 1605A value passed to encode() is outside its field's allowed range.
CustomIdWireTooLongCustomIdWireTooLong= 1606An encoded customId exceeds Discord's 100-character limit.
DecoratorCommandAlreadyRegisteredDecoratorCommandAlreadyRegistered= 1303A command decorator attempted to re-register an existing command scope.
DecoratorCommandGlobalWithGuildsDecoratorCommandGlobalWithGuilds= 1304A global command decorator specified guild IDs, which is not allowed.
DecoratorCommandGuildWithoutGuildsDecoratorCommandGuildWithoutGuilds= 1305A guild command decorator omitted the required guild ID list.
DecoratorInteractionEventFilterDecoratorInteractionEventFilter= 1301Interaction middleware decorated with disallowed event filters.
DecoratorInvalidMiddlewarePriorityDecoratorInvalidMiddlewarePriority= 1306Middleware priority provided by the decorator was not a finite number.
DecoratorMethodNotFoundDecoratorMethodNotFound= 1302A decorator could not find the original method being decorated.
EventEmitterWaitForAbortedEventEmitterWaitForAborted= 1501StrictEventEmitter.waitFor was aborted via its AbortSignal.
EventEmitterWaitForTimeoutEventEmitterWaitForTimeout= 1502StrictEventEmitter.waitFor exceeded its configured timeout.
EventMatchArmMissingEventMatchArmMissing= 1612An event handler's match() has no arm for the event name that fired.
EventMiddlewareNameUnavailableEventMiddlewareNameUnavailable= 1613Event middleware read this.eventNamethis.eventName but was constructed without a fired event name.
GateInvalidCooldownDurationGateInvalidCooldownDuration= 1701A Cooldown gate was given a duration string that is not a well-formed positive duration.
LifecycleAddAfterCompletionLifecycleAddAfterCompletion= 1101Attempted to add lifecycle tasks after startup already completed.
LifecycleAddDuringRunLifecycleAddDuringRun= 1102Attempted to add lifecycle tasks while startup is still running.
LifecyclePhaseFailuresLifecyclePhaseFailures= 1105Startup phase completed with one or more task failures.
LifecycleRemoveDuringRunLifecycleRemoveDuringRun= 1103Attempted to remove lifecycle tasks while startup is still running.
LifecycleUnknownPhaseLifecycleUnknownPhase= 1104Provided lifecycle phase identifier is not recognized.
PaginationDuplicateControlsPaginationDuplicateControls= 1804A control row repeats the same control, which would collide the custom_ids.
PaginationInvalidPerPagePaginationInvalidPerPage= 1801A paginator source was given a perPage that is not a positive integer.
PaginationTooManyControlsPaginationTooManyControls= 1802A control row was assembled with more than the five buttons Discord allows.
PluginKpgDisconnectFailedPluginKpgDisconnectFailed= 2209Postgres pool failed to close cleanly during shutdown.
PluginKpgInvalidMigrationModulePluginKpgInvalidMigrationModule= 2207A migration module failed to export the expected functions.
PluginKpgInvalidStepCountPluginKpgInvalidStepCount= 2203Migration manager received an invalid step count.
PluginKpgNonErrorFailurePluginKpgNonErrorFailure= 2208An arbitrary (non-Error) failure was reported by a migration.
PluginKpgServiceDecoratorMissingPluginKpgServiceDecoratorMissing= 2201KPG service class is missing the @RegisterKpgService@RegisterKpgService decorator.
PluginKpgServicesNotReadyPluginKpgServicesNotReady= 2210KPG servicesservices was accessed before the plugin finished initializing.
PluginKpgServiceTableMissingPluginKpgServiceTableMissing= 2202KPG service class is missing its table metadata.
PluginKpgUnresolvedMigrationsPathPluginKpgUnresolvedMigrationsPath= 2205Provided migrations path could not be resolved.
PluginMongoConnectionFailedPluginMongoConnectionFailed= 2103Mongo client failed to establish a connection.
PluginMongoDisconnectFailedPluginMongoDisconnectFailed= 2104Mongo client failed to disconnect cleanly during shutdown.
PluginMongoModelDecoratorMissingPluginMongoModelDecoratorMissing= 2102Mongo model class is missing the @RegisterMongoModel@RegisterMongoModel decorator.
PluginMongoServiceDecoratorMissingPluginMongoServiceDecoratorMissing= 2101Mongo service class is missing the @RegisterMongoService@RegisterMongoService decorator.
PluginMongoServicesNotReadyPluginMongoServicesNotReady= 2105Mongo servicesservices was accessed before the plugin finished initializing.
SlashMatchArmMissingSlashMatchArmMissing= 1610A slash handler's match() has no arm for the command route that fired.