CustomArgumentParser

CustomArgumentParser<TValue>

type: (input: string, context: CustomArgumentContext) => TValue | Promise<TValue>

Parses one raw prefix-command token into a value. Return the value, or call context.fail() to reject the input.

Type parameters:

TValue –