Package com.jagrosh.jdautilities.menu
Class ButtonMenu
java.lang.Object
com.jagrosh.jdautilities.menu.Menu
com.jagrosh.jdautilities.menu.ButtonMenu
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
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
display
(net.dv8tion.jda.api.entities.channel.middleman.MessageChannel channel) Shows the ButtonMenu as a newMessage
in the providedMessageChannel
.void
display
(net.dv8tion.jda.api.entities.Message message) Displays this ButtonMenu by editing the providedMessage
.Methods inherited from class com.jagrosh.jdautilities.menu.Menu
isValidUser, isValidUser
-
Method Details
-
display
public void display(net.dv8tion.jda.api.entities.channel.middleman.MessageChannel channel) Shows the ButtonMenu as a newMessage
in the providedMessageChannel
. -
display
public void display(net.dv8tion.jda.api.entities.Message message) Displays this ButtonMenu by editing the providedMessage
.
-