Delete a message
Remove any message, or the one that started the flow.
message.delete removes a message.
Settings
| Setting | What it does |
|---|---|
| Message | Which message, by its link or ID. See Naming a message. Empty is the message that started the flow. |
| Audit log reason | The reason Discord records. |
Ways out
out.
Notes
- The canvas shows the message named, or "The triggering message".
- The bot needs the Manage Messages permission to delete other people's messages.
- To delete the message that was reacted to, leave Message empty in a Reaction added flow:
{message.id}is that message. - To remove many messages at once, use Purge messages.
Example
On Message sent, if a Message check finds a banned word, delete the message.