| Modifier and Type | Class and Description |
|---|---|
static class |
SelectionDialog.Builder
The
Menu.Builder for
a SelectuibDialog. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CANCEL |
static java.lang.String |
DOWN |
static java.lang.String |
SELECT |
static java.lang.String |
UP |
| Modifier and Type | Method and Description |
|---|---|
void |
display(net.dv8tion.jda.core.entities.Message message)
Displays this SelectionDialog by editing the provided
Message, starting with the first selection. |
void |
display(net.dv8tion.jda.core.entities.MessageChannel channel)
Shows the SelectionDialog as a new
Message
in the provided MessageChannel, starting with
the first selection. |
void |
showDialog(net.dv8tion.jda.core.entities.MessageChannel channel,
int selection)
Shows the SelectionDialog as a new
Message
in the provided MessageChannel, starting with
the number selection provided. |
void |
showDialog(net.dv8tion.jda.core.entities.Message message,
int selection)
Displays this SelectionDialog by editing the provided
Message, starting with the number selection
provided. |
isValidUser, isValidUserpublic static final java.lang.String UP
public static final java.lang.String DOWN
public static final java.lang.String SELECT
public static final java.lang.String CANCEL
public void display(net.dv8tion.jda.core.entities.MessageChannel channel)
Message
in the provided MessageChannel, starting with
the first selection.public void display(net.dv8tion.jda.core.entities.Message message)
Message, starting with the first selection.public void showDialog(net.dv8tion.jda.core.entities.MessageChannel channel,
int selection)
Message
in the provided MessageChannel, starting with
the number selection provided.channel - The MessageChannel to send the new Message toselection - The number selection to start onpublic void showDialog(net.dv8tion.jda.core.entities.Message message,
int selection)
Message, starting with the number selection
provided.message - The Message to display the Menu inselection - The number selection to start on