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.getName()The name of this subcommand group.TheSubcommandsin this groupinthashCode()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
TheSubcommandsin this group- Returns:
- Immutable
ListofCommand.Subcommand
-
hashCode
public int hashCode() -
equals
-
toString
-