select Menu
fun selectMenu(customId: String, placeholder: String? = null, valueRange: IntRange = 1..1, disabled: Boolean = false, block: SelectMenuBuilder.() -> Unit = {})
Content copied to clipboard
Add a new Select Menu to this row.
Parameters
custom Id
The id used to identify this menu with Component.getId() for component interactions
placeholder
placeholder which is displayed when no selections have been made yet
value Range
The minimum and maximum amount of values a user can select
disabled
Whether this selection menu should be disabled