register
open inline override fun register(parentBuilder: ArgumentBuilder<S, *>, action: B.(ArgumentAccessor<S, D>) -> Unit)
Content copied to clipboard
Registers the argument on the parentBuilder as a required argument and further configures the resulting subcommand with the given action.
Accessor passed to action can be used on a CommandContext within an execute block to obtain an ArgumentReader for this argument.
Author
Cypher121