# Welcomer

When someone joins/leaves your Discord server, the bot will send a message of your choice into a channel!

![](https://2358536857-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGvQ1spooMwwatkQ2qBRp%2Fuploads%2FXYv7EWcmy97GqqTtG5fv%2FScreen%20Shot%202022-02-19%20at%202.25.23%20pm.png?alt=media\&token=ab424f51-ecbc-468b-bf0a-c6d12ee48409)

{% hint style="info" %}
The welcomer command has a join and leave option.
{% endhint %}

### Commands

{% tabs %}
{% tab title="Join" %}

* To enable(true)/disable(false) this command, run `/welcomer join enabled true|false`
* To choose the channel, run `/welcomer join channel <#channel>`
* To customize the message, run `/welcomer join message <message>`
  {% endtab %}

{% tab title="Leave" %}

* To enable(true)/disable(false) this command, run `/welcomer leave enabled true|false`
* To choose the channel, run `/welcomer leave channel <#channel>`
* To customize the message, run `/welcomer leave message <message>`
  {% endtab %}
  {% endtabs %}

In the table there are variables and their descriptions which you are able to use in your welcomer message.

| Variable         | Description                                                             |
| ---------------- | ----------------------------------------------------------------------- |
| {memberusername} | Shows the username of the member who joined/left. (Jacob.)              |
| {membertag}      | Shows the username and tag of the member who joined/left. (Jacob.#0001) |
| {memberid}       | Shows the ID of the member who joined/left. (514350060515885058)        |
| {membermention}  | Mentions the user who joined/left. (@Jacob.#0001)                       |
| {server}         | Show your server name in the message.                                   |
| {membercount}    | Shows the amount of people in your server currently.                    |
