Skip to main content

Interface: CommandEntry

Extends

Properties

__auto?

optional __auto: true;

Inherited from

CommandConfig.__auto


__module?

optional __module: string;

Inherited from

CommandConfig.__module


__path?

optional __path: string;

Inherited from

CommandConfig.__path


__plugin?

optional __plugin: object;
NameType
namestring
pathstring

Inherited from

CommandConfig.__plugin


contexts?

optional contexts: any[];

Inherited from

CommandConfig.contexts


defaultMemberPermissions?

optional defaultMemberPermissions: string | number | bigint;

Inherited from

CommandConfig.defaultMemberPermissions


description?

optional description: string;

Inherited from

CommandConfig.description


descriptionLocalizations?

optional descriptionLocalizations: Record<string, string>;

Inherited from

CommandConfig.descriptionLocalizations


dmPermission?

optional dmPermission: boolean;

Deprecated

Use contexts instead

Inherited from

CommandConfig.dmPermission


integrationTypes?

optional integrationTypes: any[];

Inherited from

CommandConfig.integrationTypes


nameLocalizations?

optional nameLocalizations: Record<string, string>;

Inherited from

CommandConfig.nameLocalizations


options?

optional options: readonly CommandOption[];

Inherited from

CommandConfig.options


sage?

optional sage: false | SageOptions;

Inherited from

CommandConfig.sage


subcommands?

optional subcommands: Record<string, CommandEntry>;

timeout?

optional timeout: number;

Inherited from

CommandConfig.timeout