abstract class SubCommand : AbstractCommand
Representation of a sub-command.
See Also
SubCommand(displayName: String, permissions: Permissions, alias: String, description: String, usage: String = "", exampleUsage: String = "") SubCommand(displayName: String, permissions: Permissions, aliases: Array<String>, description: String, usage: String = "", exampleUsage: String = "")
Representation of a sub-command. |
lateinit var parent: Command
The commands parent |
open val aliases: Array<String>
the command's aliases |
|
open val description: String
the command's description |
|
open val displayName: String
name for command in help messages |
|
open val exampleUsage: String
the command's example usage |
|
open val permissions: Permissions
the command's Permissions |
|
val subCommandAssociations: MutableMap<String, Command>
The commands sub-commands. |
|
open val usage: String
The usage of the command. |
open fun registerSubCommand(subCommand: SubCommand): Unit
Registers the subCommand. |