StaticgetReturns a new SelectMenuBuilder that was created from the select menu options.
StaticoverrideReturns a new SelectMenuBuilder with the specified options merged with the default options defined in the class, and the specified values merged with the default values defined in the class if the options include a options property (for StringSelectMenu) or defaultUsers/defaultRoles/defaultChannels property (for UserSelectMenu, RoleSelectMenu, ChannelSelectMenu, and MentionableSelectMenu).
The options to merge with the default options.
The component values to merge with the default components. The customId property is used to match the values with the correct components, and the type property is used to determine which type of component the value is for.
The base class for select menus created with the StringSelectMenu, UserSelectMenu, RoleSelectMenu, ChannelSelectMenu, and MentionableSelectMenu decorators. This class is used to create a select menu from the options defined in the class, and to override the default options with new options when creating the select menu.
Remarks
The select menu type is determined by the decorator used to create the select menu class, and can be one of the following:
stringfor StringSelectMenuuserfor UserSelectMenurolefor RoleSelectMenuchannelfor ChannelSelectMenumentionablefor MentionableSelectMenuExample