Messages · Step
Edit message
Change a message the bot posted.
edit_message
In a flow
“When a button is clicked, edit a message.”
What it does
Change a message the bot posted. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Messages in the palette.
When to use it
Use it when the flow needs to change a message the bot posted.
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 message to change: wire in Sent message or a stored message id (Saved value), or paste its id or link. Leave empty to use the message that was clicked or that started this, or else the last one this flow posted.
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