seyfert
    Preparing search index...

    Class UserSelectMenu

    Represents a Select Menu for selecting users.

    const userSelectMenu = new UserSelectMenu();
    userSelectMenu.setCustomId("user-select");
    userSelectMenu.addDefaultUsers("123456789", "987654321");

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    data: Partial<TYPE> = {}

    Methods

    • Adds default selected users to the select menu.

      Parameters

      • ...users: RestOrArray<string>

        User IDs to be added as default.

      Returns this

      The current UserSelectMenu instance.

    • Sets the default selected users for the select menu.

      Parameters

      • ...users: RestOrArray<string>

        User IDs to be set as default.

      Returns this

      The current UserSelectMenu instance.

    • Sets whether the select menu is disabled. [disabled=true] - Indicates whether the select menu is disabled.

      Parameters

      • disabled: boolean = true

      Returns this

      The current SelectMenu instance.