Class SuperCommand<T, TUser, TBot>Abstract Alpha

Another way to create commands.

Type Parameters

  • T extends Bot<any>
  • TUser = T extends Bot<infer U>
        ? U
        : never
  • TBot extends Bot<TUser> = T

Hierarchy (view full)

Constructors

Properties

bot: TBot
caller: TUser
cmdBuilder: SlashCommandBuilder
log: Logger<ILogObj> = ...
routes: SuperCommandRoute[] = []

Accessors

Methods