The custom ID of this select menu.
Optional
channelPrivate
loadthis method is meant to be for internal use only, don't use it, as it may break or change at a moments notice
Optional
maxOptional
minOptional
placeholderAdd an option to this select menu.
The label for this option.
The value of this option.
Optional
description: stringThe description of this option.
Optional
emoji: PartialEmojiThe emoji to displayed with this option.
Optional
defaultSelection: booleanAdd options to this select menu in bulk.
Rest
...options: SelectOption[]The options to add.
Clear all currently present options on this select menu.
Disable this component.
Enable this component.
Set the valid channel types for a channel select menu.
Rest
...types: ChannelTypes[] | [types: ChannelTypes[]]Set the custom ID of this select menu.
A developer-defined identifier for the button, max 100 characters.
Set the placeholder of this select menu.
Custom placeholder text if nothing is selected, max 100 characters.
Set the minimum/maximum values of this select menu.
Optional
min: numberThe minimum selected values.
Optional
max: numberThe maximum selected values.
converts this SelectMenu instance to json.
converts this SelectMenu instance to json.
Generated using TypeDoc
Create a new SelectMenu.