import { Argument } from '../arguments'; import { SubCommandContext } from '../contexts'; import { Tag } from './Command'; export declare type RunSubCommandFunction = (ctx: SubCommandContext) => any | Promise; /** * The options for a SubCommand. */ export interface SubCommandOptions { /** * The aliases of the SubCommand. */ aliases?: string[]; arguments?: Record>; /** * The channels where the SubCommand can be executed. */ channels?: string[]; /** * The description of the SubCommand. * * @remarks If a SubCommand has no description, it will not be shown in the default Help Command. */ description?: string; /** * The tags of the SubCommand. */ tags?: Array; /** * Examples of usages for the SubCommand. */ usage?: string; }