Leave
The /logs leave
command allows Zira to send leave messages to a specified channel.
Want to log users leaving your server instead? Check out the join
logging commands.
Video Example
Coming Soon!
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
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
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>
Need help generating your own set of JSON Code? You can use our Embed Builder!
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.
Placeholder | Description | Example Output |
---|---|---|
$user$ | Username | JakeyPrime |
$discriminator$ | User's Discriminator | #0001 |
$id$ | User's ID | 165047934113677312 |
$mention$ | A User Ping | @Profit |
$guild$ | The Current Server Name | Team Hydra |
$membercount$ | The New Member Count | 30847 |
Log Examples
Text Message
Embedded Message
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
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>
The ID of a leave message can be obtained from the /logs leave list
command above.
Example
Disabling The Leave Message System
The /logs leave disable
command is used to disable the leave message system entirely.
Usage
/logs leave disable