Messages · Step
Delete message
Delete a message.
delete_message
In a flow
“When a button is clicked, delete message.”
What it does
Delete a message. 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 delete a message.
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
-
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
- Reason Text
-
Why, for the audit log and the moderation log. Variables allowed.
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, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
Shortcuts
- Send and delete afterSend message → Wait → Delete message in a row can be this one element.
- Delete message laterWait → Delete message in a row can be this one element.
- Delete and warnDelete message → Warn member in a row can be this one element.