discord-botinator
    Preparing search index...

    Function quickMultiModal

    • Quickly asks a user for two strings.

      Parameters

      • title: string

        Title

      • label1: string

        First label

      • def1: string

        First default

      • label2: string

        Second label

      • def2: string

        Second default

      • int: {
            awaitModalSubmit: (
                options: AwaitModalSubmitOptions<ModalSubmitInteraction<CacheType>>,
            ) => Promise<ModalSubmitInteraction<CacheType>>;
            showModal: (
                modal:
                    | APIModalInteractionResponseCallbackData
                    | JSONEncodable<APIModalInteractionResponseCallbackData>
                    | ModalComponentData,
            ) => Promise<void>;
        }

        Interaction

      • max1: number = 4000

        First max length

      • max2: number = 4000

        Second max length

      Returns Promise<[string, string]>

      The strings as a tuple

      quickModal