Chameleon
Preparing search index...
SelectMenuBuilder
Class SelectMenuBuilder
Index
Constructors
constructor
Methods
set
Custom
Id
set
Placeholder
set
Min
Values
set
Max
Values
set
Disabled
set
Type
add
Option
add
Options
build
to
JSON
Constructors
constructor
new
SelectMenuBuilder
()
:
SelectMenuBuilder
Returns
SelectMenuBuilder
Methods
set
Custom
Id
setCustomId
(
id
:
string
)
:
this
Parameters
id
:
string
Returns
this
set
Placeholder
setPlaceholder
(
placeholder
:
string
)
:
this
Parameters
placeholder
:
string
Returns
this
set
Min
Values
setMinValues
(
min
:
number
)
:
this
Parameters
min
:
number
Returns
this
set
Max
Values
setMaxValues
(
max
:
number
)
:
this
Parameters
max
:
number
Returns
this
set
Disabled
setDisabled
(
disabled
?:
boolean
)
:
this
Parameters
disabled
:
boolean
= true
Returns
this
set
Type
setType
(
type
:
number
)
:
this
Parameters
type
:
number
Returns
this
add
Option
addOption
(
option
:
SelectOption
)
:
this
Parameters
option
:
SelectOption
Returns
this
add
Options
addOptions
(
...
options
:
SelectOption
[]
)
:
this
Parameters
...
options
:
SelectOption
[]
Returns
this
build
build
()
:
MessageComponent
Returns
MessageComponent
to
JSON
toJSON
()
:
any
Returns
any
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
set
Custom
Id
set
Placeholder
set
Min
Values
set
Max
Values
set
Disabled
set
Type
add
Option
add
Options
build
to
JSON
Chameleon
Loading...