button

This block is part of the discord group and was last modified in core v14.0.3.

Deprecated This block has been deprecated since v14.0.3, please avoid future use.

Connection Type

This block connects from a discordcomponentconnection type block. Make sure to connect this block to the appropriate left-hand side connection.

button Deprecated since v14.0.3 v14.0.3

Create a Discord button component

In pins 5 + flow
  • flow
  • label value required

    Button label

  • style value required

    Button style (Primary, Secondary, Success, Danger, Link)

  • custom_id value

    Custom ID for the button

  • emoji value

    Button emoji

  • disabled value

    Whether button is disabled (true/false)

Out pins 2 + flow
  • flow
  • connection discordcomponentconnection
  • button object

Version history

Introduced in v14.0.3.

Deprecated since v14.0.3.


Back to discord Return to the main group to view all sub-groups Back to discord component Return to the group to view all blocks within this group