A Command group, can only be used with slash commands currently

Groups can have subgroups, but not anything deeper than those 2 levels. This is because of discord restrictions.

Constructors

Properties

Methods

Constructors

  • Parameters

    • name: string

      name of the group as it shows in discord, 1-32 characters (no symbols except - and _)

    • description: string

      description of the group, 1-100 characters

    Returns Group

Properties

description: string
name: string
parent?: Group
subGroups: Group[] = []

Methods

  • Create a subgroup from this group.

    Note: subgroups cannot be made from other subgroups.

    Parameters

    • name: string

      name of the subgroup, 1-32 characters

    • description: string

      description of the subgroup, 1-100 characters

    Returns Group

Generated using TypeDoc