> ## Documentation Index
> Fetch the complete documentation index at: https://docs.razebot.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Autoresponder & Autoreactor

> Setup automated text responses and emoji reactions triggered by keywords and phrases.

# Autoresponder & Autoreactor

<Badge variant="pro">Tier 2: Pro</Badge>

> Automate member interactions by configuring keyword-triggered replies, dynamic variables, custom match modes (contains vs exact), channel restrictions, and automatic emoji reactions.

***

## Commands Overview

| Command          | Aliases               | Tier | Syntax                               | Description                                  | Permissions   |
| :--------------- | :-------------------- | :--- | :----------------------------------- | :------------------------------------------- | :------------ |
| `.autoresponder` | `ar`, `autoresponse`  | Pro  | `.autoresponder <subcommand> [args]` | Setup automatic keyword text responses.      | Administrator |
| `.autoreactor`   | `areact`, `autoreact` | Pro  | `.autoreactor <subcommand> [args]`   | Setup automatic emoji reactions to keywords. | Administrator |

***

## Autoresponder

### autoresponder

Create automated message replies that trigger whenever a user sends matching text.

| Subcommand  | Aliases  | Syntax                                         | Description                                         | Example                                         |
| :---------- | :------- | :--------------------------------------------- | :-------------------------------------------------- | :---------------------------------------------- |
| `set`       | `create` | `.autoresponder set <keyword> {response}`      | Creates a new autoresponse trigger                  | `.autoresponder set hello Hi there {user}!`     |
| `list`      | —        | `.autoresponder list`                          | Lists all configured autoresponses                  | `.autoresponder list`                           |
| `mode`      | —        | `.autoresponder mode <mode>`                   | Changes trigger match mode (`include` or `exact`)   | `.autoresponder mode include hello`             |
| `allowed`   | —        | `.autoresponder allowed <type> <id> <keyword>` | Restricts trigger to specific channel/role/category | `.autoresponder allowed channel #general hello` |
| `remove`    | `delete` | `.autoresponder remove <keyword>`              | Deletes an autoresponse trigger                     | `.autoresponder remove hello`                   |
| `config`    | —        | `.autoresponder config`                        | Views autoresponder configuration                   | `.autoresponder config`                         |
| `variables` | —        | `.autoresponder variables`                     | Displays available dynamic variables                | `.autoresponder variables`                      |

<Tabs>
  <Tab title="Create Trigger">
    ```bash theme={null} theme={null}
    .autoresponder set !faq Check our guidelines in #rules-and-info!
    .autoresponder set invite Join our main hub with https://discord.gg/raze
    ```
  </Tab>

  <Tab title="Match Mode & Restrictions">
    ```bash theme={null} theme={null}
    .autoresponder mode include !faq
    .autoresponder allowed channel #help !faq
    ```
  </Tab>

  <Tab title="List & Remove">
    ```bash theme={null} theme={null}
    .autoresponder list
    .autoresponder remove !faq
    ```
  </Tab>
</Tabs>

***

## Autoreactor

### autoreactor

Automatically react with specified emojis whenever a keyword or phrase appears in a message.

| Subcommand | Aliases  | Syntax                                       | Description                                 | Example                                     |
| :--------- | :------- | :------------------------------------------- | :------------------------------------------ | :------------------------------------------ |
| `set`      | `create` | `.autoreactor set <keyword> <emoji>`         | Sets auto-reaction for a keyword            | `.autoreactor set legit 👍`                 |
| `list`     | —        | `.autoreactor list`                          | Lists all active autoreactions              | `.autoreactor list`                         |
| `mode`     | —        | `.autoreactor mode <keyword> <mode>`         | Sets match mode (`include` vs `exact`)      | `.autoreactor mode legit include`           |
| `allowed`  | —        | `.autoreactor allowed <type> <id> <keyword>` | Restricts reaction to channel/role/category | `.autoreactor allowed channel #vouch legit` |
| `remove`   | `delete` | `.autoreactor remove <keyword>`              | Removes an autoreaction                     | `.autoreactor remove legit`                 |
| `config`   | —        | `.autoreactor config <keyword>`              | Views configuration for a keyword           | `.autoreactor config legit`                 |

<Tabs>
  <Tab title="Set Reactions">
    ```bash theme={null} theme={null}
    .autoreactor set gg 🎉
    .autoreactor set vouch ⭐
    ```
  </Tab>

  <Tab title="Manage & List">
    ```bash theme={null} theme={null}
    .autoreactor list
    .autoreactor remove gg
    ```
  </Tab>
</Tabs>
