Elementium Sign in
Contents

Messages · Step

Grey out buttons

Disable (or take off) every button and menu on a message the bot posted, so nobody clicks it twice.

Basic plan layout.grey_out

In a flow

“When a button is clicked, grey out buttons.”

When a layout button is clicked claim → Grey out buttons → Reply: claimed!

What it does

Disable (or take off) every button and menu on a message the bot posted, so nobody clicks it twice. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Messages in the palette.

When to use it

Use it when the flow needs to disable (or take off) every button and menu on a message the bot posted, so nobody clicks it twice.

When not to

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

Typical wiring

Sockets: settings you can wire

Message Message

The bot's message with the buttons: a link, an id, or wire one in. Empty is the one clicked.

What goes there: Type it in the side panel, or wire in a message. e.g. a link to the message

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

Connects fromCountdown messageCreate pollCreate poll from a listExport form recordsFind messageForward messagePinned messagesPoll with resultsand 527 more

Take them off Yes / no

Take the buttons and menus off instead of greying them out.

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

If it's empty: Optional. Left alone, it's off.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Values it gives

Changed Number

How many buttons and menus it changed. e.g. 2

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more

Often next

Related in Messages

Wires and sockets · Data values · Plans