Interface CommandContextBuilder

The interface to create a new CommandContext.

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

Hierarchy (view full)

Implemented by

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.

Generated using TypeDoc