Class Command.SubcommandGroup
java.lang.Object
net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
- Enclosing interface:
- Command
An Subcommand Group for a command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The description of this subcommand group.The localizations of this subcommand group's description forvarious languages
.getName()
The name of this subcommand group.The localizations of this subcommand group's name forvarious languages
.TheSubcommands
in this groupint
hashCode()
toString()
-
Constructor Details
-
SubcommandGroup
-
-
Method Details
-
getName
The name of this subcommand group.- Returns:
- The name
-
getNameLocalizations
The localizations of this subcommand group's name forvarious languages
.- Returns:
- The
LocalizationMap
containing the mapping fromDiscordLocale
to the localized name
-
getDescription
The description of this subcommand group.- Returns:
- The description
-
getDescriptionLocalizations
The localizations of this subcommand group's description forvarious languages
.- Returns:
- The
LocalizationMap
containing the mapping fromDiscordLocale
to the localized description
-
getSubcommands
TheSubcommands
in this group- Returns:
- Immutable
List
ofCommand.Subcommand
-
hashCode
public int hashCode() -
equals
-
toString
-