Elementium Sign in
Contents

Chat & text · Step

Send two buttons

Send a player a line with two buttons that each run a command, like picking a team.

Basic plan m.chat.two_buttons

In a flow

“When a player joins → Send two buttons: [Red] runs /team red, [Blue] runs /team blue.”

When a player joins → Send two buttons: [Red] runs /team red, [Blue] runs /team blue.

What it does

Send a player a line with two buttons that each run a command, like picking a team. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Chat & text in the palette.

When to use it

Use it when the flow needs to: send a player a line with two buttons that each run a command, like picking a team.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Player Player

Leave unwired for the player who started the flow, or wire one in, like Player from When a player joins.

What goes there: Type it in the side panel, or wire in a player. e.g. Alex

If it's empty: Optional. Left empty and unwired, the step runs without it.

Message Text

The line before the buttons. Variables allowed; MiniMessage tags like <gold> work.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses <gray>Join a team: .

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

First button Text

The first button's label. Variables allowed; MiniMessage tags like <gold> work.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses <red>[Red].

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

First runs Text

The command the first button runs, with its /.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses /team red.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

Second button Text

The second button's label. Variables allowed; MiniMessage tags like <gold> work.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses <blue>[Blue].

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

Second runs Text

The command the second button runs, with its /.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses /team blue.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

Often next

Related in Chat & text

Wires and sockets · Data values · Plans