# Welcomer

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

![](/files/wVpenpNL9GCMBseH2QG2)

{% 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.                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vibez.dev/commands/configuration/welcomer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
