Interface IBaseCommand<T>

interface IBaseCommand {
    aliases?: string[];
    allowBots?: boolean;
    allowedInteractionTypes?: CommandInteractionTypes[];
    code: string;
    disableConsoleErrors?: boolean;
    guildOnly?: boolean;
    name?: string;
    path?: string;
    type: T;
    unloadable?: boolean;
    unprefixed?: boolean;
    [x: PropertyKey]: unknown;
}

Type Parameters

  • T

Indexable

[x: PropertyKey]: unknown

Properties

aliases?: string[]
allowBots?: boolean
allowedInteractionTypes?: CommandInteractionTypes[]
code: string
disableConsoleErrors?: boolean
guildOnly?: boolean
name?: string
path?: string

Do not define

type: T
unloadable?: boolean

Do not define

unprefixed?: boolean

Generated using TypeDoc