# Setting Up Custom Messages

Sometimes, you want to welcome a new member to your discord server or change what Dazai says when you level up. You can do these with **Message Events**. To start off, there are currently 4 implemented events:

1. &#x20;Join Message (`join`)
2. DM Message on Join (`joinDM`)
3. Leave Message (`leave`)
4. Levelup message (`levelup`)

With 5 custom variables

```
{USERNAME}	The user's username
{MENTION}	Pinging the user
{ID}	The ID of the User
{OLDLVL}	The level the user just passed (Only for Levelup Message)
{NEWLVL}	The level the user just got to (Only for Levelup Message)
```

To set the messages, you just need to do :

```
daz settings messageevent
```

This will enter the MessageEvent setup and guide you through setting up message events!

![](https://4256095822-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTyOx3a-Xc-6Kp0q35t%2F-MVIX7IvUTGn1BWNQP73%2F-MVIgpGoPNCzy4TqxnqA%2FScreen%20Shot%202021-03-08%20at%201.16.08%20PM.png?alt=media\&token=6cfceb55-699c-4389-b767-1881d5895b00)

![This is what join messages will look like if the same setup steps were followed](https://4256095822-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTyOx3a-Xc-6Kp0q35t%2F-MVIX7IvUTGn1BWNQP73%2F-MVIgstlzVmiavQu_3V3%2FScreen%20Shot%202021-03-08%20at%201.16.39%20PM.png?alt=media\&token=3216ac4d-3558-45f2-9f3f-005f569488de)
