The argument defaults with default values provided.

interface ArgumentDefaults {
    modifyOtherwise?: OtherwiseContentModifier;
    otherwise?: MessageSendResolvable | OtherwiseContentSupplier;
    prompt: ArgumentPromptOptions & Required<
        Pick<
            ArgumentPromptOptions,
            | "time"
            | "optional"
            | "limit"
            | "breakout"
            | "retries"
            | "infinite"
            | "cancelWord"
            | "stopWord",
        >,
    >;
}

Hierarchy (View Summary)

Properties

modifyOtherwise?: OtherwiseContentModifier

Function to modify otherwise content.

otherwise?: MessageSendResolvable | OtherwiseContentSupplier

Default text sent if argument parsing fails.

prompt: ArgumentPromptOptions & Required<
    Pick<
        ArgumentPromptOptions,
        | "time"
        | "optional"
        | "limit"
        | "breakout"
        | "retries"
        | "infinite"
        | "cancelWord"
        | "stopWord",
    >,
>

Prompt options.