Interface SlashCommandOptionChoiceBuilderDelegate
-
public interface SlashCommandOptionChoiceBuilderDelegateThis class is internally used by theSlashCommandOptionChoiceBuilder. You usually don't want to interact with this object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlashCommandOptionChoicebuild()Builds the slash command option choice.voidsetName(String name)Sets the name of the slash command option choice.voidsetValue(int value)Sets the int value of the slash command option choice.voidsetValue(String value)Sets the string value of the slash command option choice.
-
-
-
Method Detail
-
setName
void setName(String name)
Sets the name of the slash command option choice.- Parameters:
name- The name.
-
setValue
void setValue(String value)
Sets the string value of the slash command option choice.- Parameters:
value- The value.
-
setValue
void setValue(int value)
Sets the int value of the slash command option choice.- Parameters:
value- The value.
-
build
SlashCommandOptionChoice build()
Builds the slash command option choice.- Returns:
- The slash command option choice.
-
-