Hierarchy

  • SelectMenu

Constructors

Properties

callback: ((menu: StringSelectMenuInteraction<CacheType>) => void)

Type declaration

    • (menu: StringSelectMenuInteraction<CacheType>): void
    • The callback to call when the menu is selected.

      Parameters

      • menu: StringSelectMenuInteraction<CacheType>

      Returns void

id: string

The identifier of the menu.

menu: StringSelectMenuBuilder

The built menu.

rawRequires: string[]

The raw requirements before load.

requires: (undefined | Requirement)[]

The requirements of the menu.

Methods

  • Set the callback to call when the menu is selected.

    Parameters

    • callback: ((menu: StringSelectMenuInteraction<CacheType>) => void)

      The callback to call when the menu is selected.

        • (menu: StringSelectMenuInteraction<CacheType>): void
        • Parameters

          • menu: StringSelectMenuInteraction<CacheType>

          Returns void

    Returns SelectMenu

Generated using TypeDoc