# Welcome/Leave

## Preparation

{% hint style="info" %}
Go to the Dashboard in the Welcome section and activate the Autorole
{% endhint %}

<figure><img src="/files/SnGUzp7RUq97bG1haYd2" alt=""><figcaption></figcaption></figure>

### Instructions

1. Activate the option.&#x20;
2. Choose the role to be given when a member joins the server.

{% hint style="danger" %}

#### Make sure the bot has a role above the one to assign Welcome

{% endhint %}

<figure><img src="/files/IyMbfwSUwPHiBgQa96em" alt=""><figcaption></figcaption></figure>

### Instructions

1. Enabled welcome messages.
2. Choose the channel where the bot will send the message when a member joins the server.
3. Then write a greeting&#x20;
   1. Below are all the parameters usable for your greeting

* `{user} - @flav (Mention)`
* `{user.name} - flav`
* `{user.discriminator} - 2200`
* `{user.tag} - flav#2200`
* `{user.id} - 360783331962650624`
* `{user.created_at} -1506087849370 (UNIX milliseconds)`
* `{server.name} - FlaviBot | Support`
* `{server.member_count} - 183000`

{% hint style="danger" %}

#### Don't forget to click Save once you want your changes Leaves

{% endhint %}

<figure><img src="/files/eKZ4HPN4i8oERwBKP82l" alt=""><figcaption></figcaption></figure>

### Instructions

1. Enabled welcome messages.
2. Choose the channel where the bot will send the message when a member leaves the server.
3. Then write a greeting.
   1. Below are all the parameters usable for your greeting

* `{user} - @flav (Mention)`
* `{user.name} - flav`
* `{user.discriminator} - 2200`
* `{user.tag} - flav#2200`
* `{user.id} - 360783331962650624`
* `{user.created_at} -1506087849370 (UNIX milliseconds)`
* `{server.name} - FlaviBot | Support`
* `{server.member_count} - 183000`

{% hint style="danger" %}
Don't forget to click Save once you want your changes.
{% endhint %}


---

# 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://guide.flavibot.xyz/d/features/welcome-goodbye.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.
