Required
class Required<S, B : ArgumentBuilder<S, *>, D : ArgumentDescriptor<*>>( builder: B, name: String, descriptor: D) : CommandArgument<S, B, D, ArgumentAccessor<S, D>>
Content copied to clipboard
CommandArgument that must be present in the command.
Author
Cypher121
See also
Constructors
Functions
Link copied to clipboard
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.