Skip to content
GitHub

Configuration

App options

  • ClassProvider

    A provider that binds a class's instance under a token, made once and shared, with its own dependencies injected.

  • CooldownStoreFailure

    What a call gets when the cooldown store throws, rejects or does not answer in time.

  • FactoryProvider

    A provider that binds what a function returns, called once with the values of inject, in order.

  • MeoCordOptions

    What @MeoCord takes: the app's controllers, services and client options, and what applies to every handler.

  • MessageCommandOptions

    How message commands start and match across the app, set in @MeoCord({ messages }).

  • MessageHandlerOptions

    What one message command sets for itself, over the app's messages options.

  • MessageHelpOptions

    The words the built-in help command answers to, as @MeoCord({ messages: { help } }) takes them.

  • MessageParamType

    A param type an app adds for its message patterns, such as {accent:color}: it reads a word as a value.

  • MessagePrefix

    One prefix or several that start a message command, such as '!' or ['!', '?']; '' stands for none.

  • Provider

    A value @MeoCord({ providers }) or a testing module binds under a token, for classes to @Inject.

  • RootTheme

    The app's theme, as @MeoCord({ theme }) takes it.

  • ThemeOverride

    Part of a theme, as a scope sets it: any role, of MeoCord's or the app's, and nothing unknown.

  • ThemeResolver

    A class, decorated with @Service(), that looks themes up with the app's services, as @MeoCord({ themeFor }) takes it in place of ThemeResolvers.

  • ThemeResolvers

    Themes that depend on where a call comes from, as @MeoCord({ themeFor }) takes them, or a class implementing ThemeResolver.

  • ValueProvider

    A provider that binds an existing value, such as a settings object or a configured client, as it is.

Config file

  • CommandRegistrationConfig

    Where and whether MeoCord registers the application's commands with Discord, set as meocord.config.ts's commands.

  • MeoCordConfig

    The configuration meocord.config.ts exports: the bot's token, how it is built, and how it registers and shards.

  • RsbuildConfig

    Rsbuild's configuration, as meocord.config.ts's rsbuild hook receives and returns it.

  • ShardingConfig

    How the bot splits its gateway connection into shards, set as meocord.config.ts's sharding.

ESLint

  • default

    The ESLint configuration a new MeoCord app's eslint.config.ts exports, extended by the app's own rules.

  • typescriptConfig

    Lints TypeScript as a new MeoCord app does: type-aware rules, Prettier, and import cycles that break injection.