Skip to main content
Note:
Welcome to the new Zira documentation, if you find anything wrong here or something that is broken, please report it at https://discord.gg/zira

Leave

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

Video Example

Coming Soon!

Usage

You can see all current leave commands by running the command with no arguments.

z/leave

info

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

Setting up the leave message system

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

z/leave channel #goodbye   # by channel name

z/leave channel example

Adding new leave messages

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

z/leave add Goodbye $user$#$discriminator$! $guild$ has $membercount$ members now. :(

z/leave add text example

You can also use embeds using leave add embed <JSON>.

z/leave add embed example

Example

embed preview

Currently available placeholders for leave messages include the following:

$user$            # username
$discriminator$ # user discriminator
$id$ # user ID
$mention$ # a user mention
$guild$ # guild name
$membercount$ # new member count

Viewing current leave messages

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

z/leave list

z/leave list example

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

Deleting messages from the leave message pool

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

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

z/leave remove aW8ftz52C

z/leave remove example

Disabling the leave message system

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

z/leave disable

z/leave disable example