Enumerrorsv0.4.3SeedcordErrorCodeAll 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= 3113Unable to write the generated bootstrap file. CliBuildFailed= 3112TypeScript reported diagnostics during emit. CliBuildTsconfigNotFound= 3111Unable to locate a TypeScript config file for builds. CliCancelled= 3120An interactive prompt was cancelled (Ctrl-C), so the command aborts without changes. CliCleanAppFetchFailed= 3117Could not resolve the application from the bot token during commands --clean. CliCleanApplyNeedsYes= 3122commands --clean --apply ran in a non-interactive environment without --yes, where it cannot prompt. CliCleanLargeBotUnconfirmed= 3121commands --clean --all-guilds matched more guilds than the safety threshold without --yes. CliCleanNoGuilds= 3118commands --clean ran with neither --guild nor --all-guilds. CliCleanPurgeAllGuilds= 3119commands --clean combined --purge with --all-guilds, which would wipe every guild. CliCodegenCommandsDirUnreadable= 3115The commands directory could not be read during codegen. CliCodegenDuplicateContextMenu= 3116Two context-menu commands of the same kind share a name during codegen. CliCodegenDuplicateRoute= 3114Two commands resolve to the same slash route during codegen. CliConfigEntryOutsideRoot= 3110Entry file must be inside the configured root directory. CliConfigInvalidExport= 3101Config file default export was not an object. CliConfigInvalidField= 3126A config field is present with the wrong shape. CliConfigMissingEntry= 3109Config is missing the required entry string. CliConfigMissingInstance= 3102Config is missing the required instance string. CliConfigNotFound= 3103Unable to locate a Seedcord config file. CliEntryNotFound= 3104CLI entry file does not exist. CliImportFailed= 3106Native import and jiti fallback both failed. CliInstanceInvalid= 3107Seedcord instance export is missing a start() method. CliStartFailed= 3108Seedcord instance threw during startup. CliTsxImportFailed= 3105tsx failed to import the provided entry file. CliTunnelNotVerified= 3124Discord rejected the tunnel URL as an interactions endpoint. CliTunnelUnreachable= 3125The tunnel URL never answered its health probe. CliTunnelUrlUnavailable= 3123The 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= 1001One or more configured emojis could not be resolved at startup. ConfigInvalidEnv= 1006An environment variable is present and fails validation. ConfigManifestNotGenerated= 1004The generated route manifest was imported before seedcord build generated it. ConfigMissingEnv= 1005A required environment variable is not present. ConfigTokenUnreadable= 1009DISCORD_BOT_TOKEN passed its shape check and carries no readable application id. ConfigWebhookNotFound= 1003A configured webhook does not exist on Discord (deleted, or a wrong id or token). ConfigWebhookUrlInvalid= 1002A webhook reporter's env var is set but fails webhook URL validation. CoreAccessorUnresolved= 1210A generated accessor was read before startup resolved its values. CoreApplicationUnavailable= 1209The application id was read before startup resolved it. 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= 1302A command decorator attempted to re-register an existing command scope. DecoratorCommandGlobalWithGuilds= 1303A global command decorator specified guild IDs, which is not allowed. DecoratorCommandGuildWithoutGuilds= 1304A guild command decorator omitted the required guild ID list. DecoratorInteractionEventFilter= 1301Interaction middleware decorated with disallowed event filters. DecoratorInvalidMiddlewarePriority= 1305Middleware priority provided by the decorator was not a finite number. DecoratorWebhookUrlMissing= 1306A 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. MissingGuildsIntent= 1007A command usable in a guild is registered without the Guilds intent that caches guilds. 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. PluginDisposeFailures= 2002Two or more plugins threw while disposing. 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. UnsupportedNodeVersion= 1008The running Node version is below the range seedcord declares in engines.
AutocompleteMatchArmMissing= 1611An autocomplete handler's match() has no arm for the focused field that fired.
CliCancelled= 3120An interactive prompt was cancelled (Ctrl-C), so the command aborts without changes.
CliCleanAppFetchFailed= 3117Could not resolve the application from the bot token during commands --clean.
CliCleanApplyNeedsYes= 3122commands --clean --apply ran in a non-interactive environment without --yes, where it cannot prompt.
CliCleanLargeBotUnconfirmed= 3121commands --clean --all-guilds matched more guilds than the safety threshold without --yes.
CliCleanPurgeAllGuilds= 3119commands --clean combined --purge with --all-guilds, which would wipe every guild.
CliCodegenDuplicateContextMenu= 3116Two context-menu commands of the same kind share a name during codegen.
ConfigManifestNotGenerated= 1004The generated route manifest was imported before seedcord build generated it.
ConfigTokenUnreadable= 1009DISCORD_BOT_TOKEN passed its shape check and carries no readable application id.
ConfigWebhookNotFound= 1003A 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= 1302A command decorator attempted to re-register an existing command scope.
DecoratorCommandGlobalWithGuilds= 1303A global command decorator specified guild IDs, which is not allowed.
DecoratorCommandGuildWithoutGuilds= 1304A guild command decorator omitted the required guild ID list.
DecoratorInvalidMiddlewarePriority= 1305Middleware 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.
MissingGuildsIntent= 1007A command usable in a guild is registered without the Guilds intent that caches guilds.
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.
UnsupportedNodeVersion= 1008The running Node version is below the range seedcord declares in engines.