> For the complete documentation index, see [llms.txt](https://mava.gitbook.io/mava-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mava.gitbook.io/mava-docs/getting-started/integration-setup/discord-setup/automatically-add-users-or-all-users-with-a-role-into-a-discord-private-thread.md).

# Automatically add users or all users with a role into a Discord private thread

Mava is designed for your team to manage and track all of your tickets across multiple platforms from one dashboard.

As a Discord admin, you will be able to see private threads created with each new ticket by hovering over the ticket channel with your curser. You can then click into any of the private threads to see more details.

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/4hLnkr84YR39pDPbFqPn/image.png" alt=""><figcaption></figcaption></figure>

If you want to automatically add a Discord User or a group of users with the same Role, you can do this within the [Chatbot Builder](https://dashboard.mava.app/dashboard/admin/chatbot) section of Mava.

To add a user, first copy their User ID in Discord by right clicking on the user and selecting ‘Copy ID’ from the list.

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/2zRWRskLykw9fCs1hXSA/image.png" alt=""><figcaption></figcaption></figure>

Back in the Mava dashboard under Settings > Bot Setup you can then add this User ID within any message section in the following format:<@USER\_ID>

If you don’t include the <@   > then the user ID will not be picked up correctly by Discord.

Within Mava the correct format for adding a User would look like this:

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/QA775ypz02FhFKt1iW8Z/11Screenshot%202023-10-27%20at%209.39.07%20AM.png" alt=""><figcaption></figcaption></figure>

If you want to add a role, you can follow the same process, but you need to format it as follows:

<@\&ROLE\_ID>

If you would like to link a channel or add emojis you can use the following formats:

| **Type**                | **Required Format** |
| ----------------------- | ------------------- |
| User                    | <@USER\_ID>         |
| User Nickname           | <@!USER\_ID>        |
| Channel                 | <#CHANNEL\_ID>      |
| Role                    | <@\&ROLE\_ID>       |
| Custom Emoji            | <:NAME:ID>          |
| Custom Emoji (Animated) | <:a:NAME:ID>        |
