Skip to main content

Leave

The /logs leave command allows Zira to send leave messages to a specified channel.

tip

Want to log users leaving your server instead? Check out the join logging commands.

Video Example

Coming Soon!

info

Zira will need the Send Messages permission in the channel you want to send messages to.

Setting Up The Leave Message System

The /logs leave set command is used to enable the leave message system and simultaneously set a channel for new leave announcements.

Usage

/logs leave set <Channel>

Example

/logs leave channel example

/logs leave channel output

Adding New Leave Messages

The /logs leave add command is used to add new leave messages to the list of messages randomly sent when a member leaves.

Text Messages

Plain text message leave logs are a great and simple way to have Zira send a message for member who have left.

Usage

/logs leave add text <Your Text Here!>

Example

/logs leave add text example

/logs leave add text example

Embedded Messages

If you prefer more customisation, you can also use embedded messages by supplying valid JSON code with the following command.

Usage

/logs leave add JSON Embed <JSON Code>
tip

Need help generating your own set of JSON Code? You can use our Embed Builder!

Example

/logs leave add embed example

/logs leave add embed example

Placeholders

When creating either text or embedded messages, you can also use any of these placeholders throughout your text for Zira to dynamically customise the message.

PlaceholderDescriptionExample Output
$user$UsernameJakeyPrime
$discriminator$User's Discriminator#0001
$id$User's ID165047934113677312
$mention$A User Ping@Profit
$guild$The Current Server NameTeam Hydra
$membercount$The New Member Count30847

Log Examples

Text Message

leave text example

Embedded Message

leave embed example

Viewing Current Leave Messages

The /logs leave list command lists all current messages that Zira will randomly send upon a new user leaving.

Usage

/logs leave list

Example

/logs leave list example

The IDs listed are used for the /logs leave remove command below.

Deleting Messages From The Leave Message Pool

The /logs leave remove command is used to remove a message from the list of messages randomly sent when a user leaves.

Usage

/logs leave remove <ID> 
tip

The ID of a leave message can be obtained from the /logs leave list command above.

Example

/logs leave remove example

/logs leave remove output

Disabling The Leave Message System

The /logs leave disable command is used to disable the leave message system entirely.

Usage

/logs leave disable

Example

/logs leave disable example