Class ModalBuilder

Hierarchy

  • ModalBuilder
    • ModalBuilder

Constructors

Properties

components: ActionRowBuilder<TextInputBuilder>[]

The components within this modal.

The API data associated with this modal.

Methods

  • Sets components for this modal.

    Parameters

    • Rest ...components: RestOrArray<ActionRowBuilder<TextInputBuilder>>

      The components to set

    Returns ModalBuilder

  • Sets the custom id of this modal.

    Parameters

    • customId: string

      The custom id to use

    Returns ModalBuilder

  • Sets the title of this modal.

    Parameters

    • title: string

      The title to use

    Returns ModalBuilder

Generated using TypeDoc