# Setting up Reaction Roles

Lets say you wanted to let people opt in to gain roles. You could do this with Dazai's Reaction Roles feature. By default, all servers have 50 Slots they can use. To start off, you are going to need to copy the message id of the message. You can do this by holding the `Shift` key and hovering over the message. You should see an extended set of buttons. Click on the button with the symbol ID. You should now have the Channel-Message ID pair copied.

![](/files/-MVIcPKYFjvFobOl0VpI)

Next, you want to type in

```
daz reactionrole create 
```

and append your copied ID to the command while replacing the dash with the space. (Ex: if your copied message id was`818582747219623967-818586912725401640`, you would change it to `818582747219623967 818586912725401640`).\
Next, specify what emote users should react to. The emote that you specify must either be a default discord emote(Usable in DMs without nitro) or a server emote. Make sure you have a space between the emote and message ID!. Finally, you can either ping the role you would like people to gain or find its ID. we recommend that you just ping the role as finding the ID requires Developer Mode.

![](/files/-MVIcfJvBhdB0If8tP1u)


---

# Agent Instructions: 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:

```
GET https://docs.dazai.app/music-commands/settings/setting-up-reaction-roles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
