> For the complete documentation index, see [llms.txt](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/moderation/reaction-roles.md).

# Reaction Roles

Here's a guide on how to setup reaction roles.

### Commands

`.rradd` \<message id> \<roleid> \<emoji or emojiid>\
**Permission Required**: Administrator\
**Description: Add  a reaction role**\
\
`.rrdel` \<message id> \<emoji or emojiid>\
**Permission Required**: Administrator\
**Description: Remove a reaction role to a message**

### Setup

1. Whether you have an [embed](/allinone-discord-bot-docs/features/moderation/embed-maker.md) made, or a message locate the message id. In this setup we will use an embed that we made. <br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FBypHYi1eSsfocUNACz6k%2Fimage.png?alt=media&amp;token=1c520f90-850e-4969-911e-f628ae15f7eb" alt=""><figcaption></figcaption></figure>
2. In any channel type, "`.rradd` \<message id> \<roleid> \<emoji or emojiid>" here is our example\
   "`.rradd` 1454602165199831172 1454619122435489913 1373143367705427978". Also, if you are using default Discord emojis you can use those aswell: "`.rradd` 1454602165199831172 1454619122435489913 🍏".<br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FRF868v8kMWNNLMgIA88J%2Fimage.png?alt=media&amp;token=35dd0d99-7c43-4498-bc68-87e09031e291" alt=""><figcaption></figcaption></figure>

### Removing a reaction role

1. Use "`.rrdel` \<message id> \<emoji or emojiid>" heres an example: ".rrdel 1454602165199831172 :green\_apple:"
2. The reaction role is gone!<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/moderation/reaction-roles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
