Edit a message
Change a reply or message the bot already sent.
message.edit changes a message the bot already sent: its text, embed, or buttons and menus.
Settings
| Setting | What it does |
|---|---|
| Which message | The message to edit, by its link or ID. See Naming a message. Leave it empty to edit this flow's own message. |
| In channel | Only needed for a message given by ID that's in another channel. A link already says which channel. |
| Message | The new text. |
| Embed | The new embed. |
| Buttons and menus | The new component set. |
| Remove its buttons and menus | With no component set chosen above, the message keeps the ones it has unless you turn this on. |
| Mentions that notify | See Mentions. |
Ways out
out.
Notes
- To edit a message an earlier run sent, keep
{sent.link}from that run, for example in a variable or a row, and give it here. - Left empty, it edits the reply this flow already sent, or else the last message it sent.
- To answer a button press by changing the message the button is on, use Update the button's message.
Example
Run on a schedule, load a stored message link, and edit a status board with the latest numbers.