BaseSelectMenuBuilder

export declare class BaseSelectMenuBuilder<SelectMenuType extends APISelectMenuComponent> extends ComponentBuilder<SelectMenuType>
export declare class BaseSelectMenuBuilder<SelectMenuType extends APISelectMenuComponent> extends ComponentBuilder<SelectMenuType>

No summary provided.

Extends

ComponentBuilder<SelectMenuType>
NameConstraintsOptionalDefaultDescription
SelectMenuTypeAPISelectMenuComponentNoNone
Readonly
data:Partial<DataType>
The API data associated with this component
Inherited from ComponentBuilder
setCustomId(customId):this
Sets the custom id for this select menu
NameTypeOptionalDescription
customIdstringNoThe custom id to use for this select menu
setDisabled(disabled?):this
Sets whether this select menu is disabled
NameTypeOptionalDescription
disabledbooleanYesWhether this select menu is disabled
setMaxValues(maxValues):this
Sets the maximum values that must be selected in the select menu
NameTypeOptionalDescription
maxValuesnumberNoThe maximum values that must be selected
setMinValues(minValues):this
Sets the minimum values that must be selected in the select menu
NameTypeOptionalDescription
minValuesnumberNoThe minimum values that must be selected
setPlaceholder(placeholder):this
Sets the placeholder for this select menu
NameTypeOptionalDescription
placeholderstringNoThe placeholder to use for this select menu
toJSON():SelectMenuType