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

# Reaction Triggers

> Setup automatic reactions to messages in your server.

## Introduction

One of the most popular features, jar can automatically react to messages that contain specific keywords.

## Setting up a reaction trigger

To setup a reaction trigger, use the `rt add` command, followed by the emoji and trigger you'd like to use.

<CodeGroup>
  ```ruby Syntax theme={null}
  reaction add <emoji> <trigger>
  ```

  ```ruby Example theme={null}
  ,,reaction add 💀 skull
  ```
</CodeGroup>

<Frame caption="Reaction trigger added confirmation">
  <img src="https://mintcdn.com/jarinc/A4GghNGPwdWr9LoP/images/server/rt/rt_add.png?fit=max&auto=format&n=A4GghNGPwdWr9LoP&q=85&s=f6f4baef3eec3da79d2c14f2e3f84691" alt="Reaction trigger added confirmation" width="502" height="252" data-path="images/server/rt/rt_add.png" />
</Frame>

## Checking who made a reaction trigger

To check who made a reaction trigger, use the `rt owner` command, followed by the trigger you'd like to check.

<CodeGroup>
  ```ruby Syntax theme={null}
  reaction owner <trigger>
  ```

  ```ruby Example theme={null}
  ,,reaction owner skull
  ```
</CodeGroup>

<Frame caption="Reaction trigger owner">
  <img src="https://mintcdn.com/jarinc/A4GghNGPwdWr9LoP/images/server/rt/rt_owner.png?fit=max&auto=format&n=A4GghNGPwdWr9LoP&q=85&s=084a252647b377ee3dbec3d87e1faac7" alt="Reaction trigger owner" width="462" height="249" data-path="images/server/rt/rt_owner.png" />
</Frame>

## Listing all reaction triggers

To list all reaction triggers in your server, use the `rt list` command.

<CodeGroup>
  ```ruby Syntax theme={null}
  reaction list
  ```

  ```ruby Example theme={null}
  ,,reaction list
  ```
</CodeGroup>

<Frame caption="Reaction triggers list">
  <img src="https://mintcdn.com/jarinc/A4GghNGPwdWr9LoP/images/server/rt/rt_list.png?fit=max&auto=format&n=A4GghNGPwdWr9LoP&q=85&s=51f7147c5e8b7f0a9157eda00529a4f0" alt="Reaction triggers list" width="519" height="525" data-path="images/server/rt/rt_list.png" />
</Frame>

## Removing a reaction trigger

To remove a reaction trigger, use the `rt remove` command, followed by the emoji and trigger you'd like to remove.

<CodeGroup>
  ```ruby Syntax theme={null}
  reaction remove <emoji> <trigger>
  ```

  ```ruby Example theme={null}
  ,,reaction remove 💀 skull
  ```
</CodeGroup>

<Frame caption="Reaction trigger removed confirmation">
  <img src="https://mintcdn.com/jarinc/A4GghNGPwdWr9LoP/images/server/rt/rt_remove.png?fit=max&auto=format&n=A4GghNGPwdWr9LoP&q=85&s=0ab3d502755cc6da8cf733fec7895b47" alt="Reaction trigger removed confirmation" width="522" height="256" data-path="images/server/rt/rt_remove.png" />
</Frame>

### Removing all reactions for a trigger

To remove all reactions for a trigger, use the `rt removeall` command, followed by the trigger you'd like to remove all reactions for.

<CodeGroup>
  ```ruby Syntax theme={null}
  reaction removeall <trigger>
  ```

  ```ruby Example theme={null}
  ,,reaction removeall skull
  ```
</CodeGroup>

<Frame caption="All reactions for a trigger removed confirmation">
  <img src="https://mintcdn.com/jarinc/A4GghNGPwdWr9LoP/images/server/rt/rt_removeall.png?fit=max&auto=format&n=A4GghNGPwdWr9LoP&q=85&s=ddccdf42f4d5b36f5f3ede0aba3b6a08" alt="All reactions for a trigger removed confirmation" width="530" height="253" data-path="images/server/rt/rt_removeall.png" />
</Frame>

## Resetting all reaction triggers

To reset all reaction triggers in your server, use the `rt reset` command.

<CodeGroup>
  ```ruby Syntax theme={null}
  reaction reset
  ```

  ```ruby Example theme={null}
  ,,reaction reset
  ```
</CodeGroup>

<Frame caption="All reaction triggers reset confirmation">
  <img src="https://mintcdn.com/jarinc/A4GghNGPwdWr9LoP/images/server/rt/rt_reset.png?fit=max&auto=format&n=A4GghNGPwdWr9LoP&q=85&s=cc33d78394a54ac29d6e32fcfe5bc539" alt="All reaction triggers reset confirmation" width="491" height="264" data-path="images/server/rt/rt_reset.png" />
</Frame>
