leave command allows Zira to send leave messages to a specified channel.
You can see all current
leave commands by running the command with no arguments.
Zira will need the
Send Messages permission in the channel you want to send messages to.
Setting up the leave message system
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
Adding new leave messages
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. :(
You can also use embeds using
leave add embed <JSON>.
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
leave list command lists all current messages that Zira will randomly send upon a new user leave.
The IDs listed are used for the
leave remove command below.
Deleting messages from the leave message pool
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
Disabling the leave message system
leave disable command is used to disable the leave message system entirely.