AbstractProtected ReadonlychildProtected ReadonlychildrenProtected Abstract ReadonlydataProtected ReadonlymetaAdds a list of children to this command.
If adding this child list would make this command surpass its max children. See getMaxChildren.
Returns the children that is an instance of the passed class.
Finds a child by its name.
Returns the children belonging to this command, keyed by their name.
Returns the data for this command.
Gets the guilds this command can be executed in. null for global commands.
Returns the identifier of this object.
Returns the maximum amount of children that this command can hold.
Returns a readonly metadata collection of this object, if any.
Returns whether this is an ContextMenuCommand.
Returns whether this is a ParentCommand.
Returns whether this is a StandaloneCommand.
Returns whether this is a SubCommand.
Returns whether this is a SubCommandGroup.
Removes a child by its instance.
A top level command that serves only to contain * subcommands or subcommand groups. ParentCommands cannot be executed by themselves, a subcommand must be specified.