Interface IKommandoOptions

Hierarchy

  • IKommandoOptions

Properties

directory: string

The directory to look for handlers

% = directory

%: The directory to look for commands in.

%/commands: The new directory of commands

%/requirements

%/buttons

%/selectmenus

%/modals

%/autocompletes

%/contextmenus

disableCache?: boolean

Whether to disable caching. If you disable, your application will rate-limited

disableMessages?: boolean

Whether to disable the messages.

messages?: {
    ERROR?: string;
}

The messages.

Type declaration

  • Optional ERROR?: string

    The error message.

noAutoHandle?: boolean

Whether to disable the auto-handling of commands.

pluginConfigs?: {
    [pluginName: string]: any;
}

The plugin configurations.

Type declaration

  • [pluginName: string]: any
plugins?: string[]

The plugins to load.

test?: {
    enable: boolean;
    guild: null | string;
}

The test mode configurations.

Type declaration

  • enable: boolean

    true for enable test mode.

  • guild: null | string

    The test guild id.

useOldCommandDirectory?: boolean

Deprecated

Whether to use old directory of commands

Generated using TypeDoc