Class ButtonMenu

java.lang.Object
com.jagrosh.jdautilities.menu.Menu
com.jagrosh.jdautilities.menu.ButtonMenu

public class ButtonMenu extends Menu
A Menu implementation that creates a organized display of emotes/emojis as buttons paired with options, and below the menu reactions corresponding to each button.
Author:
John Grosh
  • Method Details

    • display

      public void display(net.dv8tion.jda.api.entities.channel.middleman.MessageChannel channel)
      Shows the ButtonMenu as a new Message in the provided MessageChannel.
      Specified by:
      display in class Menu
      Parameters:
      channel - The MessageChannel to send the new Message to
    • display

      public void display(net.dv8tion.jda.api.entities.Message message)
      Displays this ButtonMenu by editing the provided Message.
      Specified by:
      display in class Menu
      Parameters:
      message - The Message to display the Menu in