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 booleanequals(Object obj)StringgetDescription()The description of this subcommand group.StringgetName()The name of this subcommand group.List<Command.Subcommand>getSubcommands()TheSubcommandsin this groupinthashCode()StringtoString()
-
-
-
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()
TheSubcommandsin this group- Returns:
- Immutable
ListofCommand.Subcommand
-
-