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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The description of this subcommand group.getName()
The name of this subcommand group.TheSubcommands
in this groupint
hashCode()
toString()
-
Constructor Details
-
SubcommandGroup
-
-
Method Details
-
getName
The name of this subcommand group.- Returns:
- The name
-
getDescription
The description of this subcommand group.- Returns:
- The description
-
getSubcommands
TheSubcommands
in this group- Returns:
- Immutable
List
ofCommand.Subcommand
-
hashCode
public int hashCode() -
equals
-
toString
-