Class Button

A clickable button that can appear in a message. Buttons will automatically be shown to players if used in a Player.prompt.click(button).

Hierarchy

  • Button

Implements

Constructors

Properties

Methods

Constructors

  • Create a clickable button that can appear in a message.

    Parameters

    • label: string

      Text displayed on this button.

    Returns Button

Properties

label: string

Text displayed on this button.

Methods

Generated using TypeDoc