Type Alias ArgumentGenerator

ArgumentGenerator: (
    this: Command,
    message: TextCommandMessage,
    parsed: ContentParserResult,
    state: ArgumentRunnerState,
) => ArgumentGeneratorReturn

Generator for arguments. When yielding argument options, that argument is ran and the result of the processing is given. The last value when the generator is done is the resulting args for the command's exec.

Type declaration