command
/
io.github.monull.command
/
LiteralCommand
Literal
Command
class
LiteralCommand
(name:
String
, requirement:
CommandSource
.() ->
Boolean
?, executor:
CommandSource
.(
CommandContext
) ->
Unit
?, children:
Collection
<
Command
>) :
Command
Content copied to clipboard
Functions
Properties
Functions
getChild
Link copied to clipboard
fun
getChild
(arg:
String
):
Command
?
Content copied to clipboard
Properties
executor
Link copied to clipboard
val
executor
:
CommandSource
.(
CommandContext
) ->
Unit
?
Content copied to clipboard
name
Link copied to clipboard
val
name
:
String
Content copied to clipboard
requirement
Link copied to clipboard
val
requirement
:
CommandSource
.() ->
Boolean
?
Content copied to clipboard