# User Joins Server

![](https://1776366025-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0L1z_JwGF9x5j-YBBE%2Fuploads%2F4pWi73UFbKgmQkPCePdb%2Fimage.png?alt=media\&token=72ffbe3a-91d2-4e49-ad05-5c21412b9341)

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

![](https://1776366025-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0L1z_JwGF9x5j-YBBE%2Fuploads%2Fv8Fw8pi75ItK0Md6Gszv%2Fimage.png?alt=media\&token=94d424fb-072c-42f5-8ebc-ac685dd9d240)

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.
