Optional
breakout?: booleanWhenever an input matches the format of a command, this option controls whether or not to cancel this command and run that command. The command to be run may be the same command or some other command.
Optional
cancel?: ArgumentPromptResponseText sent on cancellation of command.
Optional
cancelWord?: stringWord to use for cancelling the command.
Optional
ended?: ArgumentPromptResponseText sent on amount of tries reaching the max.
Optional
infinite?: booleanPrompts forever until the stop word, cancel word, time limit, or retry limit. Note that the retry count resets back to one on each valid entry. The final evaluated argument will be an array of the inputs.
Optional
limit?: numberAmount of inputs allowed for an infinite prompt before finishing.
Optional
modifyCancel?: PromptContentModifierFunction to modify cancel messages.
Optional
modifyEnded?: PromptContentModifierFunction to modify out of tries messages.
Optional
modifyRetry?: PromptContentModifierFunction to modify retry prompts.
Optional
modifyStart?: PromptContentModifierFunction to modify start prompts.
Optional
modifyTimeout?: PromptContentModifierFunction to modify timeout messages.
Optional
optional?: booleanPrompts only when argument is provided but was not of the right type.
Optional
retries?: numberAmount of retries allowed.
Optional
retry?: ArgumentPromptResponseText sent on a retry (failure to cast type).
Optional
start?: ArgumentPromptResponseText sent on start of prompt.
Optional
stopWord?: stringWord to use for ending infinite prompts.
Optional
time?: numberTime to wait for input.
Optional
timeout?: ArgumentPromptResponseText sent on collector time out.
A prompt to run if the user did not input the argument correctly. Can only be used if there is not a default value (unless optional is true).