discord-botinator
    Preparing search index...

    Class SuperCommand<T, TUser, TBot>Abstract Alpha

    Another way to create commands. Currently supported argument types: string, number, user.

    Requires "emitDecoratorMetadata": true and "experimentalDecorators": true in tsconfig.json.

    Type Parameters

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

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

    Accessors

    Methods

    • Alpha

      Type Parameters

      • T extends SlashCommandSubcommandBuilder | SlashCommandBuilder

      Parameters

      Returns T