interface ModalOptions {
    generateTitle: ((guild) => string);
    modalComponentsOptions: Omit<TextInputComponentData, "type" | "customId" | "required" | "value">;
}

Properties

generateTitle: ((guild) => string)

A function to build a modal's title from the selected guild object.

Type declaration

    • (guild): string
    • Parameters

      • guild: Guild

      Returns string

modalComponentsOptions: Omit<TextInputComponentData, "type" | "customId" | "required" | "value">

The modal components' settings.