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 TypeMethodDescriptionbooleanThe 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.TheSubcommandsin this groupinthashCode()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
LocalizationMapcontaining the mapping fromDiscordLocaleto 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
LocalizationMapcontaining the mapping fromDiscordLocaleto the localized description
-
getSubcommands
TheSubcommandsin this group- Returns:
- Immutable
ListofCommand.Subcommand
-
hashCode
public int hashCode() -
equals
-
toString
-