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

# reaction roles

# Setup reaction roles in a channel

Required permissions: <code> manage\_roles and manage\_channels</code> to use the reactionrole setup!

<Accordion title="How to setup?">
  <CodeGroup>
    ```text synax theme={null}
    reactionrole add <channel> <message_id> <emoji> <role>
    ```

    ```text example theme={null}
    ;reactionrole add #self-roles 1390745962028466206 :male: @male
    ```
  </CodeGroup>
</Accordion>

<Frame>
  <img src="https://mintcdn.com/xvz/u9uDLscVUwkl9ZJx/images/rr-preview.png?fit=max&auto=format&n=u9uDLscVUwkl9ZJx&q=85&s=bb6cb387b423c09b3dd15fdbe078a59c" width="637" height="231" data-path="images/rr-preview.png" />
</Frame>

<Accordion title="How to remove reaction roles?">
  <CodeGroup>
    ```text synax theme={null}
    ;reactionrole remove <channel> <message_id> <emoji>
    ```

    ```text example theme={null}
    ;reactionrole remove #self-roles 1390745962028466206 :male:
    ```
  </CodeGroup>
</Accordion>

<Frame>
  <img src="https://mintcdn.com/xvz/u9uDLscVUwkl9ZJx/images/rr-preview2.png?fit=max&auto=format&n=u9uDLscVUwkl9ZJx&q=85&s=b76fe3a708b5644877161ea97ae684bd" width="490" height="239" data-path="images/rr-preview2.png" />
</Frame>

# Troubleshooting

<Note>
  If custom emojis does not work , `;emoji add (emoji)` and retry the setup
</Note>
