Class Command.SubcommandGroup
- java.lang.Object
-
- net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup
-
-
Constructor Summary
Constructors Constructor Description SubcommandGroup(DataObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDescription()
The description of this subcommand group.String
getName()
The name of this subcommand group.List<Command.Subcommand>
getSubcommands()
TheSubcommands
in this groupint
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SubcommandGroup
public SubcommandGroup(DataObject json)
-
-
Method Detail
-
getDescription
@Nonnull public String getDescription()
The description of this subcommand group.- Returns:
- The description
-
getSubcommands
@Nonnull public List<Command.Subcommand> getSubcommands()
TheSubcommands
in this group- Returns:
- Immutable
List
ofCommand.Subcommand
-
-