LiveThe dashboard is here. Six years in the making.

Logging Commands

Leave

Send a randomly-selected message to a channel when a member leaves.

The /logs leave commands let Zira send a leave message to a specified channel when a user leaves your server. Configure multiple messages and Zira picks one at random per leave.

Tip

Want to log new joins instead? See the join commands. The Dashboard's join/leave message page supports the same placeholders with a live preview.

Info

Zira needs Send Messages permission on the channel you want messages sent to.

Setting Up The Leave Message System#

/logs leave set enables the leave system and sets the channel announcements go to.

Usage#

/logs leave set <Channel>

Example#

/logs leave channel example

/logs leave channel output

Adding Leave Messages#

Text Messages#

/logs leave add text <Your text here>

Example#

/logs leave add text example

/logs leave add text example

Embedded Messages#

For richer formatting, build the message in the embed builder and pick Leave as the type. The builder posts directly into your leave message pool, supports live placeholder preview, and removes the need to hand-edit JSON.

If you do still want to send raw JSON via the slash command:

/logs leave add embed <JSON Code>

Example#

/logs leave add embed example

/logs leave add embed example

Placeholders#

PlaceholderDescriptionExample
$user$UsernameJakeyPrime
$id$User's ID165047934113677312
$mention$A user ping@Profit
$guild$Server nameTeam Hydra
$membercount$Member count after the leave30847
Info

$discriminator$ was removed in 2023 when Discord retired the four-digit discriminator system.

Log Examples#

Text Message#

leave text example

Embedded Message#

leave embed example

Listing Current Leave Messages#

/logs leave list

Example#

/logs leave list example

Removing A Leave Message#

/logs leave remove <ID>
Tip

Get the ID from /logs leave list above.

Example#

/logs leave remove example

/logs leave remove output

Disabling The Leave System Entirely#

/logs leave disable

Example#

/logs leave disable example