Constructor
new SelectMenuInteraction(client, manager, data)
The constructor of the select menu interaction class.
Parameters:
Name | Type | Description |
---|---|---|
client | Client | The client |
manager | SelectMenuInteractionManager | The select menu interaction manager |
data | SelectMenuInteractionData | The data of the select menu interaction |
Members
disabled
If the select menu is disabled
manager :SelectMenuInteractionManager
The select menu interaction manager
maxValues
The max values of the select menu
minValues
The min values of the select menu
options
The options of the select menu
placeholder
The placeholder of the select menu
Methods
buildSelectMenu() → {SelectMenuBuilder|DisGroupDevError}
Builds the select menu
Returns:
- Type:
- SelectMenuBuilder |
DisGroupDevError
load() → {Promise.<(Boolean|DisGroupDevError)>}
Reloads the select menu interaction
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
reload() → {Promise.<(Boolean|DisGroupDevError)>}
Reloads the select menu interaction
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>
unload() → {Promise.<(Boolean|DisGroupDevError)>}
Unloads the select menu interaction
Returns:
- Type:
- Promise.
<(Boolean| DisGroupDevError)>