> For the complete documentation index, see [llms.txt](https://docs.discordbotstudio.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discordbotstudio.org/events/event-types/user-joins-server.md).

# User Joins Server

![](/files/8keIZR4v0MFqJqwsGC8G)

This event is emitted whenever a user joins a guild.

`tempVars.newuser` is variable made available by DBS which represents the user who just joined the server, triggering this event.

### Example response

![](/files/PIrunwkXSQvxAhwo3N0i)

Connecting the above response to the User Joins Server event will send a message to the default channel welcoming and tagging any new users who join the server.
