Optional
data: StringSelectMenuComponentDataReadonly
dataReadonly
optionsThe options within this select menu.
Removes, replaces, or inserts options for this select menu.
The index to start at
The number of options to remove
Rest
...options: RestOrArray<StringSelectMenuOptionBuilder | APISelectMenuOption>The replacing option objects or builders
This method behaves similarly to Array.prototype.splice(). It's useful for modifying and adjusting the order of existing options.
Static
from
The API data associated with this component.