> For the complete documentation index, see [llms.txt](https://docs.dazai.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dazai.app/music-commands/settings/setting-up-custom-messages.md).

# 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!

![](/files/-MVIgpGoPNCzy4TqxnqA)

![This is what join messages will look like if the same setup steps were followed](/files/-MVIgstlzVmiavQu_3V3)
