implicit final class SelectMenuOps extends AnyVal

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelectMenuOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SelectMenuOps(menu: SelectMenu)

Value Members

  1. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  2. 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.

  3. 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.