Class SharedSlashCommandSubcommands<TypeAfterAddingSubcommands>

This mixin holds symbols that can be shared in slash subcommands.

Type Parameters

  • TypeAfterAddingSubcommands extends SharedSlashCommandSubcommands<TypeAfterAddingSubcommands>

    The type this class should return after adding a subcommand or subcommand group.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Adds a new subcommand to this command.

    Parameters

    Returns TypeAfterAddingSubcommands

  • Adds a new subcommand group to this command.

    Parameters

    Returns TypeAfterAddingSubcommands

Generated using TypeDoc