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

# Reaction Roles

Reaction roles can be used to let users select roles for themselves in the server, for example announcement roles.

{% hint style="success" %}
Discord has a very good alternative for reaction roles in channels, although it is a little harder to set up. You can read more about it [here](https://support.discord.com/hc/en-us/articles/10394859532823-Community-Onboarding-Examples).

![](https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FW5wEAJ7ICIU0nKDv4i6O%2Fimage.png?alt=media\&token=d0260467-8298-40b7-9f06-b606ea8341cc)
{% endhint %}

## Setup

With the `/create reaction-role-message` command you can set up your reaction role panel where users can select roles.&#x20;

| Command Option Name | Function                                                              |
| ------------------- | --------------------------------------------------------------------- |
| channel             | Here you can select the channel where you want to send the panel too. |

After you used the command, you will get a form to fill out:

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FIWICZyzAy3vboyQeSD6Z%2Fimage.png?alt=media&amp;token=a1cc6b52-7666-4fc5-80a4-449e7af776aa" alt="" width="365"><figcaption></figcaption></figure>

| Form question  | Function                                                                                                                   |
| -------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Button label 1 | In this question you can enter the name of your first button                                                               |
| Button label 2 | In this question you can enter the name of your second button. You can also leave this blank if you only want one button   |
| Button label 3 | In this question you can enter the name of your third button. You can also leave this blank if you only want two buttons   |
| Button label 4 | In this question you can enter the name of your fouth button. You can also leave this blank if you only want three buttons |
| Button label 5 | In this question you can enter the name of your fifth button. You can also leave this blank if you only want four buttons  |

After that form, you will get a selection menu for every button to select a button colour and role.&#x20;

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FMWrF5lS39kZXyNqf3iSY%2Fimage.png?alt=media&amp;token=1c195719-1855-479a-b787-6b4a6c9dc82b" alt="" width="428"><figcaption></figcaption></figure>

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FWqtC1QU9bsuTh6UOG3w2%2Fimage.png?alt=media&amp;token=e892ee34-77c1-4ef9-bbae-fd74ff272e2d" alt="" width="417"><figcaption></figcaption></figure>

The role you select here will be the role a user will get when they press the button.&#x20;

{% hint style="danger" %}
Never select a role with dangerous permissions here (administrator, manage server/channels/roles, etc) as everyone will then be able to get these roles!
{% endhint %}

Once you selected a colour and role for all buttons, you will get one last menu to enter the panel's content:

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2F3xouAUz79pv6LjaD3vQD%2Fimage.png?alt=media&amp;token=9bd122d7-b9f6-445e-9d0d-01e0bdf350db" alt="" width="359"><figcaption><p>This menu has a pre-set basic content</p></figcaption></figure>

### Demonstration

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FFupXuaMoxmUl8GSrFD1e%2Fimage.png?alt=media&amp;token=175647dc-e752-4305-9af5-67ce9f4e4e96" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Want to remove a reaction role you got? Simply press the button again!&#x20;
{% endhint %}
