Enumerrorsv0.3.4SeedcordErrorCodeAll Seedcord error codes. enum SeedcordErrorCodeMembersAutocompleteMatchArmMissing= 1611An autocomplete handler's match() has no arm for the focused field that fired. AutocompleteNoFocusedOption= 1614An autocomplete payload carried no focused option. CliBootstrapWriteFailed= 3118Unable to write the generated bootstrap file. CliBuildFailed= 3117TypeScript reported diagnostics during emit. CliBuildTsconfigNotFound= 3116Unable to locate a TypeScript config file for builds. CliCancelled= 3128An interactive prompt was cancelled (Ctrl-C), so the command aborts without changes. CliCleanAppFetchFailed= 3125Could not resolve the application from the bot token during commands --clean. CliCleanApplyNeedsYes= 3130commands --clean --apply ran in a non-interactive environment without --yes, where it cannot prompt. CliCleanLargeBotUnconfirmed= 3129commands --clean --all-guilds matched more guilds than the safety threshold without --yes. CliCleanNoGuilds= 3126commands --clean ran with neither --guild nor --all-guilds. CliCleanPurgeAllGuilds= 3127commands --clean combined --purge with --all-guilds, which would wipe every guild. CliCodegenCommandsDirUnreadable= 3123The commands directory could not be read during codegen. CliCodegenDuplicateContextMenu= 3124Two context-menu commands of the same kind share a name during codegen. CliCodegenDuplicateRoute= 3122Two commands resolve to the same slash route during codegen. CliConfigEntryOutsideRoot= 3115Entry file must be inside the configured root directory. CliConfigInvalidBuild= 3111Config build options must be an object when provided. CliConfigInvalidBuildBootstrap= 3114Config build bootstrap must be a string when provided. CliConfigInvalidBuildOutDir= 3112Config build outDir must be a string when provided. CliConfigInvalidBuildTsconfig= 3113Config build tsconfig must be a string when provided. CliConfigInvalidExport= 3101Config file default export was not an object. CliConfigInvalidHmr= 3120Config hmr options must be an object when provided. CliConfigInvalidHmrRestart= 3121Config hmr restart patterns must be an array of strings when provided. CliConfigInvalidHmrRollback= 3131Config hmr rollback flag must be a boolean when provided. CliConfigInvalidHmrTypecheck= 3136Config hmr typecheck flag must be a boolean or object when provided. CliConfigInvalidIdleAnimation= 3137Config idleAnimation flag must be a boolean when provided. CliConfigInvalidRoot= 3103Config root was provided but not a string. CliConfigInvalidTsconfig= 3119Config hmr typecheck tsconfig must be a string when provided. CliConfigInvalidTunnel= 3132Config tunnel must be a boolean or an https URL when provided. CliConfigMissingEntry= 3110Config is missing the required entry string. CliConfigMissingInstance= 3102Config is missing the required instance string. CliConfigNotFound= 3104Unable to locate a Seedcord config file. CliEntryNotFound= 3105CLI entry file does not exist. CliImportFailed= 3107Native import and jiti fallback both failed. CliInstanceInvalid= 3108Seedcord instance export is missing a start() method. CliStartFailed= 3109Seedcord instance threw during startup. CliTsxImportFailed= 3106tsx failed to import the provided entry file. CliTunnelNotVerified= 3134Discord rejected the tunnel URL as an interactions endpoint. CliTunnelUnreachable= 3135The tunnel URL never answered its health probe. CliTunnelUrlUnavailable= 3133The cloudflared metrics server never reported a quick-tunnel hostname. ColorOutOfRange= 1902A resolved color fell outside Discord's 0x000000 to 0xffffff range. ColorUnresolvable= 1901A color value could not be resolved to a Discord color integer. ConfigEmojiUnresolved= 1003One or more configured emojis could not be resolved at startup. ConfigIncorrectDiscordToken= 1002DISCORD_BOT_TOKEN is present but fails validation. ConfigIncorrectPublicKey= 1007DISCORD_PUBLIC_KEY is present but fails validation. ConfigManifestNotGenerated= 1008The generated route manifest was imported before seedcord build generated it. ConfigMissingDiscordToken= 1001DISCORD_BOT_TOKEN is not present in the environment. ConfigMissingPublicKey= 1006DISCORD_PUBLIC_KEY is not present in the environment. ConfigWebhookNotFound= 1005A configured webhook does not exist on Discord (deleted, or a wrong id or token). ConfigWebhookUrlInvalid= 1004A webhook reporter's env var is set but fails webhook URL validation. CoreAccessorUnresolved= 1210A generated accessor was read before startup resolved its values. CoreApplicationUnavailable= 1209A command deploy ran before the client resolved its application. CoreBotRoleMissing= 1204Bot role lookup failed within the provided guild. CoreControllerPathMissing= 1205A bot controller was constructed without its required handlers directory. CoreDirectoryImportFailed= 1206A file in a scanned directory threw while being imported. CoreDirectoryUnreadable= 1207A scanned directory could not be read. CorePluginAfterInit= 1202Plugins cannot be mutated after the core has finished initializing. CorePluginKeyExists= 1203A plugin tried to register with a key that already exists. CorePluginReservedChannel= 1208A plugin was attached under a key the framework logs on. CoreSingletonViolation= 1201Multiple Seedcord instances were created simultaneously. CreateBadUsage= 3204The command line did not parse. CreateCancelled= 3201A create prompt was cancelled (Ctrl-C), and nothing has been written yet. CreateFlagNotApplicable= 3202A flag supplied an answer for a question the earlier answers skip. CreateInvalidAnswer= 3203A flag carried a value its question rejects. CreateStepFailed= 3206A command the scaffolder shelled out to exited non-zero. CreateTargetNotEmpty= 3205The target path already holds something. CustomIdDuplicateFieldName= 1607A field name is declared more than once in the same customId chain. CustomIdEmptyChoices= 1603A oneOf() field was declared with no choices. CustomIdHandlerRouteMissing= 1608A component handler is missing its route decorator (@ButtonRoute / @ModalRoute / @SelectMenuRoute). CustomIdInvalidBounds= 1604An int() field was declared with min greater than max. CustomIdInvalidPrefix= 1601A customId definition prefix contains a reserved character (a colon or a control char). CustomIdMatchArmMissing= 1609match() received a decoded route with no matching arm. CustomIdReservedFieldName= 1602A customId field name is integer-like, which JS would silently reorder. CustomIdValueOutOfRange= 1605A value passed to encode() is outside its field's allowed range. CustomIdWireTooLong= 1606An encoded customId exceeds Discord's 100-character limit. DecoratorCommandAlreadyRegistered= 1303A command decorator attempted to re-register an existing command scope. DecoratorCommandGlobalWithGuilds= 1304A global command decorator specified guild IDs, which is not allowed. DecoratorCommandGuildWithoutGuilds= 1305A guild command decorator omitted the required guild ID list. DecoratorInteractionEventFilter= 1301Interaction middleware decorated with disallowed event filters. DecoratorInvalidMiddlewarePriority= 1306Middleware priority provided by the decorator was not a finite number. DecoratorMethodNotFound= 1302A decorator could not find the original method being decorated. DecoratorWebhookUrlMissing= 1307A WebhookLog subclass is missing its @WebhookUrl decorator. EventMatchArmMissing= 1612An event handler's match() has no arm for the event name that fired. EventMiddlewareNameUnavailable= 1613Event middleware read this.eventName but was constructed without a fired event name. GateInvalidCooldownDuration= 1701A Cooldown gate was given a duration string that is not a well-formed positive duration. InteractionDuplicateMiddleware= 1402Two different interaction middleware classes share a class name. InteractionDuplicateRoute= 1401Two interaction handlers registered the same route within a scope. InteractionRouteExportMissing= 1403A route manifest row gives an export name its module does not have. LifecycleAddAfterCompletion= 1101Attempted to add lifecycle tasks after startup already completed. LifecycleAddDuringRun= 1102Attempted to add lifecycle tasks while startup is still running. LifecyclePhaseFailures= 1105Startup phase completed with one or more task failures. LifecycleRemoveDuringRun= 1103Attempted to remove lifecycle tasks while startup is still running. LifecycleRestartAfterFailure= 1107A host whose startup failed was started again. LifecycleTaskTimeout= 1106A lifecycle task exceeded its configured timeout. LifecycleUnknownPhase= 1104Provided lifecycle phase identifier is not recognized. PaginationDuplicateControls= 1804A control row repeats the same control, which would collide the custom_ids. PaginationEmptyControls= 1803A control row was assembled with no controls. PaginationInvalidPerPage= 1801A paginator source was given a perPage that is not a positive integer. PaginationTooManyControls= 1802A control row was assembled with more than the five buttons Discord allows. PluginKyselyBootstrapFailed= 2212Bootstrapper failed to ensure the target Postgres database exists. PluginKyselyConnectionFailed= 2211Postgres pool failed to establish a connection. PluginKyselyDisconnectFailed= 2209Postgres pool failed to close cleanly during shutdown. PluginKyselyInvalidMigrationModule= 2207A migration module failed to export the expected functions. PluginKyselyInvalidStepCount= 2203Migration manager received an invalid step count. PluginKyselyNoMigrationFiles= 2206No migration files were found for execution. PluginKyselyNonErrorFailure= 2208An arbitrary (non-Error) failure was reported by a migration. PluginKyselyServiceDecoratorMissing= 2201Kysely service class is missing the @RegisterKyselyService decorator. PluginKyselyServicesNotReady= 2210Kysely services was accessed before the plugin finished initializing. PluginKyselyServiceTableMissing= 2202Kysely service class is missing its table metadata. PluginKyselyUnknownDirection= 2204Migration direction was not recognized. PluginKyselyUnresolvedMigrationsPath= 2205Provided migrations path could not be resolved. PluginMongooseConnectionFailed= 2102Mongoose client failed to establish a connection. PluginMongooseDisconnectFailed= 2103Mongoose client failed to disconnect cleanly during shutdown. PluginMongooseModelCreationFailed= 2105Mongoose rejected the model, usually a duplicate model name or an absent schema. PluginMongooseModelNameMissing= 2106A mongoose service was registered with an empty model name override. PluginMongooseServiceDecoratorMissing= 2101Mongoose service class is missing the @RegisterMongooseService decorator. PluginMongooseServicesNotReady= 2104Mongoose services was accessed before the plugin finished initializing. PluginOptionsRejected= 2001A plugin's constructor rejected its options through rejectOptions. ReplyCallbackMissingMessage= 1505A withResponse interaction callback returned no created message. ReplyComponentSerialization= 1502A reply component failed to serialize to raw API data. ReplyForeignEditTarget= 1503edit() was passed a message the interaction did not send. ReplyIllegalAckState= 1501A reply method was called in an ack state where it is illegal. ReplyUpdateWithoutSource= 1504update() or deferUpdate() was called on a modal with no source message. RouteModuleLoadFailed= 1405A manifest row's module threw while importing. SlashMatchArmMissing= 1610A slash handler's match() has no arm for the command route that fired. SubscriberRouteNotASubscriber= 1404A subscriber manifest row specifies an export that does not extend Subscriber.
AutocompleteMatchArmMissing= 1611An autocomplete handler's match() has no arm for the focused field that fired.
CliCancelled= 3128An interactive prompt was cancelled (Ctrl-C), so the command aborts without changes.
CliCleanAppFetchFailed= 3125Could not resolve the application from the bot token during commands --clean.
CliCleanApplyNeedsYes= 3130commands --clean --apply ran in a non-interactive environment without --yes, where it cannot prompt.
CliCleanLargeBotUnconfirmed= 3129commands --clean --all-guilds matched more guilds than the safety threshold without --yes.
CliCleanPurgeAllGuilds= 3127commands --clean combined --purge with --all-guilds, which would wipe every guild.
CliCodegenDuplicateContextMenu= 3124Two context-menu commands of the same kind share a name during codegen.
CliConfigInvalidHmrRestart= 3121Config hmr restart patterns must be an array of strings when provided.
CliConfigInvalidHmrTypecheck= 3136Config hmr typecheck flag must be a boolean or object when provided.
ConfigManifestNotGenerated= 1008The generated route manifest was imported before seedcord build generated it.
ConfigWebhookNotFound= 1005A configured webhook does not exist on Discord (deleted, or a wrong id or token).
CoreControllerPathMissing= 1205A bot controller was constructed without its required handlers directory.
CustomIdHandlerRouteMissing= 1608A component handler is missing its route decorator (@ButtonRoute / @ModalRoute / @SelectMenuRoute).
CustomIdInvalidPrefix= 1601A customId definition prefix contains a reserved character (a colon or a control char).
CustomIdReservedFieldName= 1602A customId field name is integer-like, which JS would silently reorder.
DecoratorCommandAlreadyRegistered= 1303A command decorator attempted to re-register an existing command scope.
DecoratorCommandGlobalWithGuilds= 1304A global command decorator specified guild IDs, which is not allowed.
DecoratorCommandGuildWithoutGuilds= 1305A guild command decorator omitted the required guild ID list.
DecoratorInvalidMiddlewarePriority= 1306Middleware priority provided by the decorator was not a finite number.
EventMiddlewareNameUnavailable= 1613Event middleware read this.eventName but was constructed without a fired event name.
GateInvalidCooldownDuration= 1701A Cooldown gate was given a duration string that is not a well-formed positive duration.
InteractionRouteExportMissing= 1403A route manifest row gives an export name its module does not have.
PaginationDuplicateControls= 1804A control row repeats the same control, which would collide the custom_ids.
PaginationTooManyControls= 1802A control row was assembled with more than the five buttons Discord allows.
PluginKyselyServiceDecoratorMissing= 2201Kysely service class is missing the @RegisterKyselyService decorator.
PluginKyselyServicesNotReady= 2210Kysely services was accessed before the plugin finished initializing.
PluginMongooseModelCreationFailed= 2105Mongoose rejected the model, usually a duplicate model name or an absent schema.
PluginMongooseModelNameMissing= 2106A mongoose service was registered with an empty model name override.
PluginMongooseServiceDecoratorMissing= 2101Mongoose service class is missing the @RegisterMongooseService decorator.
PluginMongooseServicesNotReady= 2104Mongoose services was accessed before the plugin finished initializing.
ReplyUpdateWithoutSource= 1504update() or deferUpdate() was called on a modal with no source message.
SubscriberRouteNotASubscriber= 1404A subscriber manifest row specifies an export that does not extend Subscriber.