selectMenu

inline fun selectMenu(customId: String, builder: SelectMenuBuilder.() -> Unit)(source)

Deprecated (with error)

Renamed by discord to StringSelect

Replace with

stringSelect(customId) { builder() }

Creates and adds a select menu with the customId and configured by the builder. An ActionRow with a select menu cannot have any other select menus or buttons.