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

# Reaction

## Manually reacting to a message

You can use the `reaction` command to react to a message with bleh.

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,reaction (message link) (emoji)
  ```

  ```javascript Example theme={null} theme={null}
  ,reaction .../channels/... 😍
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/bleh/ERtszj3Wuzo7WvDX/images/configuration/reaction-triggers/react.gif?s=df4e22789a64022bb936a55eebef1815" width="427" height="187" data-path="images/configuration/reaction-triggers/react.gif" />
</Frame>

## Creating a reaction trigger

You can create a reaction trigger with the `reaction add` command.

<Warning>
  Common words such as `hey` are not allowed as triggers, as they cause heavy
  load on the bot.
</Warning>

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,reaction add (emoji) (trigger)
  ```

  ```javascript Example theme={null} theme={null}
  ,reaction add 😍 jon
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/bleh/ERtszj3Wuzo7WvDX/images/configuration/reaction-triggers/add.png?fit=max&auto=format&n=ERtszj3Wuzo7WvDX&q=85&s=a20a58bb2ad5e0ea74fab668747b6c9f" width="397" height="274" data-path="images/configuration/reaction-triggers/add.png" />
</Frame>

### Viewing who added a reaction trigger

You can use the `reaction owner` command to view who added a reaction trigger.

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,reaction owner (trigger)
  ```

  ```javascript Example theme={null} theme={null}
  ,reaction owner jon
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/bleh/ERtszj3Wuzo7WvDX/images/configuration/reaction-triggers/owner.png?fit=max&auto=format&n=ERtszj3Wuzo7WvDX&q=85&s=756ac665a4209887a018c31dc5634b05" width="478" height="170" data-path="images/configuration/reaction-triggers/owner.png" />
</Frame>

## Removing a reaction trigger

You can remove a reaction trigger with the `reaction remove` command.

<Info>If you're struggling to remove a reaction trigger, refer to the [selection removal](/resources/syntax#removing-entries-via-id).</Info>

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,reaction remove (emoji) (trigger)
  ```

  ```javascript Example theme={null} theme={null}
  ,reaction remove 😍 jon
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/bleh/ERtszj3Wuzo7WvDX/images/configuration/reaction-triggers/remove.png?fit=max&auto=format&n=ERtszj3Wuzo7WvDX&q=85&s=80b290f8649afc3e342496794aaec575" width="392" height="171" data-path="images/configuration/reaction-triggers/remove.png" />
</Frame>

### Removing all reactions for a trigger

You can remove all reactions for a trigger with the `reaction removeall` command.

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,reaction removeall (trigger)
  ```

  ```javascript Example theme={null} theme={null}
  ,reaction removeall jon
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/bleh/ERtszj3Wuzo7WvDX/images/configuration/reaction-triggers/removeall.png?fit=max&auto=format&n=ERtszj3Wuzo7WvDX&q=85&s=71c9fe755fb82cd5f5c03e7d16634aae" width="444" height="167" data-path="images/configuration/reaction-triggers/removeall.png" />
</Frame>

## Reacting to every message

If you're interested in having reactions on every message, you can use the `reaction messages` command.
This is useful for channels like `#selfies` where messages can be voted on.

<Warning>
  The channel must either be set as `imgonly` or have a slowmode of at least
  **one minute**.
</Warning>

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,reaction messages (channel) (up to three emojis)
  ```

  ```javascript Example theme={null} theme={null}
  ,reaction messages #selfies 😍 😐 🤮
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/bleh/ERtszj3Wuzo7WvDX/images/configuration/reaction-triggers/messages.png?fit=max&auto=format&n=ERtszj3Wuzo7WvDX&q=85&s=2a8a4bfe567a9ef439ed862cbe0fb2be" width="506" height="173" data-path="images/configuration/reaction-triggers/messages.png" />
</Frame>

### Removing all message reactions

You can use the `reaction messages` command without emojis to remove all reactions.

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,reaction messages (channel)
  ```

  ```javascript Example theme={null} theme={null}
  ,reaction messages #selfies
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/bleh/ERtszj3Wuzo7WvDX/images/configuration/reaction-triggers/messages-remove.png?fit=max&auto=format&n=ERtszj3Wuzo7WvDX&q=85&s=03f13efb41c4a21a0f92121efc1ad3d8" width="467" height="170" data-path="images/configuration/reaction-triggers/messages-remove.png" />
</Frame>

## Related commands

<AccordionGroup>
  <Accordion title="Removing all reaction triggers">
    You can use the `reaction reset` command to remove all reaction triggers.
  </Accordion>

  <Accordion title="Viewing all reaction triggers">
    You can use the `reaction list` command to view all reaction triggers.
  </Accordion>

  <Accordion title="Viewing all channels that are receiving reactions">
    You can use the `reaction messages list` command to view all channels receiving reactions.
  </Accordion>
</AccordionGroup>
