implicit final class SelectMenuOps extends AnyVal
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SelectMenuOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SelectMenuOps(menu: SelectMenu)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onSelect[A <: MenuInteraction](makeHandler: (String) => AutoMenuHandler[A]): SelectMenu
Create a menu handler to be executed when an option is selected.
Create a menu handler to be executed when an option is selected.
- makeHandler
Function to make the handler.
- returns
The menu.
- def onSelectBoth[A <: MenuInteraction](makeHandler: (String) => MenuHandler[A]): (SelectMenu, MenuHandler[A])
Create a menu handler to be executed when an option is selected.
Create a menu handler to be executed when an option is selected.
- makeHandler
Function to make the handler.
- returns
The menu and the created handler.
- def toString(): String
- Definition Classes
- Any