Converter

constructor(required: Boolean = true)

Parameters

required

Whether this converter must succeed for a command invocation to be valid.

InputType

TypeVar representing the specific result type this converter represents

OutputType

TypeVar representing the final type of the parsed argument which is given to the bot developer

NamedInputType

TypeVar representing how this converter receives named arguments - either String or List<String>

ResultType

TypeVar representing how this converter signals whether it succeeded - either Boolean or Int