Skip to content
GitHub

CommandBuilderBase

interface in meocord/interface Since 4.0.0

interface CommandBuilderBase<
  T extends BuildableCommandType = BuildableCommandType,
>

What a command builder implements: build, which describes the command to register.

Implement it on a class marked with CommandBuilder.

Members

build

build: (commandName: string) => CommandBuildResult<T>

Builds the command structure using the specified command name.

See also

  • CommandBuilder