---
description: Automatically send a reply to server messages, based on keywords!
---

# Autoresponder

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2FYuWsawVT9ZQCgfl1t2KG%2Fautorespond1.png?alt=media&#x26;token=e3597e2b-d0c4-4314-bec9-896ac7e94007" alt=""><figcaption></figcaption></figure>

The [Autoresponder](https://vyral.bot/dashboard/demo/module/8de92a0c-1e68-4577-900d-26e2bda7b396) module will allow you to set keywords that will trigger a response from the bot. This can be from a simple "hello" to a whole sentence under the settings you select.

## Settings <a href="#settings" id="settings"></a>

### Autoresponder Setup <a href="#autoresponder-setup" id="autoresponder-setup"></a>

Customize the autoresponder in it's entirety and modify certain aspects or nothing at all. Click on the add button at the bottom right to add the autoresponder to the active list.

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2FGjMFsxnUO5MiY1XtFS1d%2Fautorespond2.png?alt=media&#x26;token=002ca5a8-a141-4a9b-94f6-b05bb2dac1e6" alt=""><figcaption></figcaption></figure>

#### **Trigger Detection Type**

Define how the bot should handle the trigger keywords, whether the message contains, is equal to, starts with, or ends with a keyword.

#### **Trigger Keywords**

Set the keywords that will trigger the autoresponder. Currently, up to 100 keywords for each active autoresponder.

{% hint style="info" %}
To add the keyword, you may press 'Enter' in your keyboard. Added keywords will appear on the right.
{% endhint %}

#### **Message**

Configure the message content and type, whether you wish to send an embed or plain text. All [variables](../variables) can be used.

#### **Channel Cooldown**

In this field you can input the channel cooldown in seconds between autoresponders.

#### **Mention Users**

With this selection you can choose whether you to mention the user triggering the keyword or not.

#### **Channel Selection - Type**

This section is where you can choose whether to enable all channels except those whitelisted, or the selected channels that can trigger the autoresponder.

#### **Channel Selection - Channels**

Based off [Channel Selection - Type](#channel-selection-type), you can choose channels that will either block or allow the autoresponder to trigger.

#### **Role Selection - Type**

In this field you can choose whether to enable all roles except those whitelisted, or the selected roles.

#### **Role Selection - Roles**

Based off [Role Selection - Type](#role-selection-type), you can choose roles that will either block or allow the autoresponder to trigger.

{% hint style="info" %}
To save the autoresponder's settings, you need to click "Add" in the bottom-right corner of the settings. This will reset the fields so you can set up another autoresponder.
{% endhint %}

### Active Responders <a href="#active-responders" id="active-responders"></a>

These are the active autoresponders that will trigger based off many factors such as roles, channels and keywords. The current maximum is 100 for premium users. Once opened, at the bottom right you can edit / delete the auto responder.

{% hint style="info" %}
To save the edits you made on the autoresponder's settings, you need to click "Edit" in the bottom-right corner of the settings.
{% endhint %}

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2Fr7teBLkdJvBJdH1ns41T%2Fautorespond3.png?alt=media&#x26;token=d94a3b37-35d9-48db-b166-6bf7996ae337" alt=""><figcaption></figcaption></figure>

***

## Events <a href="#events" id="events"></a>

Below you may find some information on each event of the module. \
All Autoresponders will be ordered by the number in which they were created.

<details>

<summary>Autoresponder #...</summary>

Once a autoresponder is added, it's corresponding event will be added as an event. These events control how the autoresponder functions based off the settings you chose and send the message to the channel.

</details>
