Class Command.Subcommand
java.lang.Object
net.dv8tion.jda.api.interactions.commands.Command.Subcommand
- Enclosing interface:
- Command
An Subcommand for a command.
-
Constructor Details
-
Subcommand
-
-
Method Details
-
getName
The name of this subcommand.- Returns:
- The name
-
getDescription
The description of this subcommand.- Returns:
- The description
-
getOptions
The options for this subcommand, or the subcommands within this group.- Returns:
- Immutable list of Options
-
hashCode
public int hashCode() -
equals
-
toString
-