Elementium Sign in
Contents

Starts when · Starts a flow

When many messages are deleted at once

Staff or a bot remove a batch of messages in one go, like a purge.

Free plan events.messages_purged

In a flow

“When many messages are deleted at once, the steps wired after it run.”

Post 'Removed 25 messages in #general' to #mod-log.

What it does

Staff or a bot remove a batch of messages in one go, like a purge. It starts a flow, and gives the steps after it values about what happened. It gives 3 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when many messages are deleted at once.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

Values it gives

Who did it Member

Discord doesn't say who did this, so this is empty. The server's audit log shows it. e.g. @Alex

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

Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 648 more

Where it happened Channel

The channel the messages were removed from. e.g. #general

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

Connects toAdd a forum tagAdd to threadAge-restrict a channelAI summary of a channelAnti-nuke guardArchive channelArchive or lock threadAsk a questionand 640 more

How many Number

How many messages were removed. e.g. 25

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 Starts when

Wires and sockets · Data values · Plans