> ## 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.

# Autoreact

> Automatically add reactions to messages based on triggers, channels, roles, or users.

# Autoreact

> Automatically add reactions to messages based on triggers, channels, roles, or users.

## Overview

raze adds up to **5** emoji reactions per rule. Rules can target a keyword trigger, a specific channel, a role the sender has, or a specific user. Multiple rules stack — a single message can collect reactions from several sources at once. Maximum **20** keyword triggers per server.

Reactions must be standard Unicode emoji or custom emoji the bot has access to.

## Trigger-based

React to any message containing a specific word or phrase. Trigger and reactions are separated by a **comma**.

<Tabs>
  <Tab title="Add">
    ```bash theme={null} theme={null}
    ;autoreact add (trigger), (emoji) [emoji...]
    ```

    ```bash theme={null} theme={null}
    ;autoreact add hello, 👍 ❤️
    ```
  </Tab>

  <Tab title="Remove">
    ```bash theme={null} theme={null}
    ;autoreact remove (trigger)
    ```

    ```bash theme={null} theme={null}
    ;autoreact remove hello
    ```
  </Tab>

  <Tab title="List">
    ```bash theme={null} theme={null}
    ;autoreact list
    ```
  </Tab>

  <Tab title="Clear">
    ```bash theme={null} theme={null}
    ;autoreact reset
    ```
  </Tab>
</Tabs>

## Channel-based

React to every message sent in a specific channel regardless of content.

<Tabs>
  <Tab title="Add">
    ```bash theme={null} theme={null}
    ;autoreact channel add (#channel), (emoji) [emoji...]
    ```

    ```bash theme={null} theme={null}
    ;autoreact channel add #media, 🔥 ❤️
    ```
  </Tab>

  <Tab title="Remove">
    ```bash theme={null} theme={null}
    ;autoreact channel remove (#channel)
    ```

    ```bash theme={null} theme={null}
    ;autoreact channel remove #media
    ```
  </Tab>

  <Tab title="List">
    ```bash theme={null} theme={null}
    ;autoreact channel list
    ```
  </Tab>

  <Tab title="Clear">
    ```bash theme={null} theme={null}
    ;autoreact channel reset
    ```
  </Tab>
</Tabs>

## Role-based

React to messages sent by any member who has a specific role.

<Tabs>
  <Tab title="Add">
    ```bash theme={null} theme={null}
    ;autoreact role add (@role), (emoji) [emoji...]
    ```

    ```bash theme={null} theme={null}
    ;autoreact role add @Booster, ⭐ 💎
    ```
  </Tab>

  <Tab title="Remove">
    ```bash theme={null} theme={null}
    ;autoreact role remove (@role)
    ```

    ```bash theme={null} theme={null}
    ;autoreact role remove @Booster
    ```
  </Tab>

  <Tab title="List">
    ```bash theme={null} theme={null}
    ;autoreact role list
    ```
  </Tab>

  <Tab title="Clear">
    ```bash theme={null} theme={null}
    ;autoreact role reset
    ```
  </Tab>
</Tabs>

## User-based

React to messages sent by a specific member.

<Tabs>
  <Tab title="Add">
    ```bash theme={null} theme={null}
    ;autoreact user add (@member), (emoji) [emoji...]
    ```

    ```bash theme={null} theme={null}
    ;autoreact user add @wanderer, 👑
    ```
  </Tab>

  <Tab title="Remove">
    ```bash theme={null} theme={null}
    ;autoreact user remove (@member)
    ```

    ```bash theme={null} theme={null}
    ;autoreact user remove @wanderer
    ```
  </Tab>

  <Tab title="List">
    ```bash theme={null} theme={null}
    ;autoreact user list
    ```
  </Tab>

  <Tab title="Clear">
    ```bash theme={null} theme={null}
    ;autoreact user reset
    ```
  </Tab>
</Tabs>
