Interface SubCommandContextBuilder

The object to create a new SubCommandContext.

interface SubCommandContextBuilder {
    command: Command;
    handler: typeof CommandHandler;
    message: Message<boolean>;
    rawArgs: string[];
    subCommand: SubCommand;
}

Hierarchy (view full)

Properties

command: Command

The command.

handler: typeof CommandHandler

The handler.

message: Message<boolean>

The message that executed the command.

rawArgs: string[]

The arguments in the message.

subCommand: SubCommand

The SubCommand related to this SubcommandContext.

Generated using TypeDoc