LiteralCommand

class LiteralCommand(name: String, requirement: CommandSource.() -> Boolean?, executor: CommandSource.(CommandContext) -> Unit?, children: Collection<Command>) : Command

Functions

getChild
Link copied to clipboard
fun getChild(arg: String): Command?

Properties

executor
Link copied to clipboard
val executor: CommandSource.(CommandContext) -> Unit?
name
Link copied to clipboard
val name: String
requirement
Link copied to clipboard
val requirement: CommandSource.() -> Boolean?