Member Join and Leave Messages

Yzbot supports member join and leave messages, which are generally used as welcome and farewell messages when members join and leave your server.

Placeholders

Before I start off, there are a few important placeholders that are supported by member join and leave messages. These replace with variables in order to introduce a more dynamic element to your join and leave messages. They are:

  • <USER> - A mention of the user who joined/left. (e.g. @yzfire)

  • <SERVERNAME> - The current name of the server.

  • <MEMBERCOUNT> - Replaces with the new member count of the server.

  • <MEMBERID> - The user ID of the member who joined/left.

  • <USERTAG> - The Discord 'tag' (username#discriminator) of the user who joined/left.

Managing the Join/Leave Message and Channel

Join

To start off, I will go over how to manage the join message. To set a new join message, type ;membjoinleave join message <message>, replacing <message> with whatever you want yzbot to send when a new member joins.

You can put placeholders in this message and they will replace dynamically.

Now, you need to set which channel you want yzbot to send the join message to. I'm just going to use #general here. So what you want to do now, is type ;membjoinleave join channel <#channel>, replacing <#channel> with the channel mention of where you want to send the join message to.

Your join message has now been set up and will send whenever a new member joins the server. If you ever want to stop yzbot sending a message when a new member joins, type ;membjoinleave join remove and it will delete the message and channel settings that you had set before.

Leave

Now I will show you how to get yzbot to send a message whenever a user leaves your server. Firstly, we need to type ;membjoinleave leave message <message>, replacing <message> with whatever you want to be sent when someone leaves the server.

To set the channel, type ;membjoinleave leave channel <#channel>, replacing <#channel> with where you want to send leave messages.

To remove the setting for leave messages, simply type ;membjoinleave leave remove.

Last updated

Was this helpful?