Elementium Sign in
Contents

Starts when · Starts a flow

When someone is banned

A user is banned from the server, by staff or a bot.

Free plan events.member_banned

In a flow

“When someone is banned, the steps wired after it run.”

Post the ban to #mod-log.

What it does

A user is banned from the server, by staff or a bot. It starts a flow, and gives the steps after it values about what happened. It gives 2 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when someone is banned.

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 was banned Member

The banned user. They aren't on the server any more, so roles and DMs won't work. e.g. @Sam

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 Channel

This doesn't happen in a channel, so this is empty. 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

Often next

Related in Starts when

Wires and sockets · Data values · Plans