@tanzanite/discord-akairo
    Preparing search index...

    Type Alias ArgumentPromptData

    Data passed to argument prompt functions.

    type ArgumentPromptData = {
        failure: null | Flag<Fail>;
        infinite: boolean;
        message: TextCommandMessage;
        phrase: string;
        retries: number;
    }
    Index

    Properties

    failure: null | Flag<Fail>

    The value that failed if there was one, otherwise null.

    infinite: boolean

    Whether the prompt is infinite or not.

    The message that caused the prompt.

    phrase: string

    The input phrase that caused the prompt if there was one, otherwise an empty string.

    retries: number

    Amount of retries so far.