# How to Get Role ID and Role Name on Discord

💻 How to get Role Info on PC

1. Click the `Settings` icon in the bottom corner.

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252FWnf40pavCCVlsM3gDGHS%252F12.1.png%3Falt%3Dmedia%26token%3D98d204ca-9f02-4abc-b8bd-2dfe39bc1412&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ce51bc37&#x26;sv=2" alt=""><figcaption></figcaption></figure>

1. Select “`Advanced`”, then enable “`Developer Mode`”. Click “`ESC`”.

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252F8HthHGjOVNfdvd4zib03%252F12.2.png%3Falt%3Dmedia%26token%3D6383ef37-7e9c-43e1-a884-55ba9d45fd68&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=950ced7c&#x26;sv=2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252F0fLAXKalV5JscyoqofbY%252F12.3.png%3Falt%3Dmedia%26token%3Db1b18afc-5bd7-4e92-881c-463750516cc3&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=97925db2&#x26;sv=2" alt=""><figcaption></figcaption></figure>

1. Click “`Server Settings`” on your Server Menu.

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252FvloEK8LqbVtskkUc6Es1%252F13.4.png%3Falt%3Dmedia%26token%3D7d079e30-28e2-4a3f-9b02-dbf30f4e10e0&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=22ac403a&#x26;sv=2" alt=""><figcaption></figcaption></figure>

1. Select “`Roles`”, locate the target role to get the Role Name, and click the three dots next to it on the right, then click “`Copy ID`”.

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252FwQV4GPQ7sjZnlUh5gfgJ%252F13.5.png%3Falt%3Dmedia%26token%3D01eadbd7-b9a6-4f34-95c9-24567b1e7936&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=88b139c2&#x26;sv=2" alt=""><figcaption></figcaption></figure>

#### 📱 How to get Role Info on mobile app <a href="#how-to-get-role-info-on-mobile-app" id="how-to-get-role-info-on-mobile-app"></a>

1. Turn on `Developer Mode`

* For Android users, go to `User` `Settings` > `App Settings` > `Behavior` and turn on Developer Mode.
* For IOS users, head over to `User Settings` > `Appearance` > `Advanced` and turn on Developer Mode.

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252FKCLAFeaxo9zkFvmQPPjY%252F15.1.png%3Falt%3Dmedia%26token%3D627997c5-73e4-4863-b31d-c78a0a6bf12e&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=557a1c03&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Android

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252FXJhk1kJywjbMAkv8XTkW%252F15.3.png%3Falt%3Dmedia%26token%3D4c084bfc-0ad4-4309-9d77-565a8dfbe4ee&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=84d6d944&#x26;sv=2" alt=""><figcaption></figcaption></figure>

IOS

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252FTaF525U61LOMd9wc5KZ4%252F15.4.png%3Falt%3Dmedia%26token%3Dff7ffe33-e2db-4c7d-906a-030eb0008537&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=eaf51e59&#x26;sv=2" alt=""><figcaption></figcaption></figure>

1. Make sure that you can mention the role. Go to `Server Settings` > `Roles`, locate the target role and toggle the "Allow anyone to @mention this role" option on.

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252FWVNCqbw8NKYW3iX3kuhw%252F15.5.png%3Falt%3Dmedia%26token%3D0a6b3ce1-c3e3-4363-8792-a8feef1349b7&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=820c360b&#x26;sv=2" alt=""><figcaption></figcaption></figure>

1. Send the message: @RoleName, replace "ROLE NAME" with the name of the role you wish to find the role ID for. If your role is called "`TaskOn Admin`", then type @TaskOn Admin.

<figure><img src="https://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/~gitbook/image?url=https%3A%2F%2F422440725-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaikZy1CQmprkOt4N09Jt%252Fuploads%252F5i8yjg1GPEZXW8X1wyqL%252F15.6.png%3Falt%3Dmedia%26token%3Df06b0de0-634d-4b1e-bccb-8252223c755f&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=f27ae021&#x26;sv=2" alt=""><figcaption></figcaption></figure>


---

# 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://taskoncommunitys-organization.gitbook.io/entity-hub-for-business-end/community-hub/bot-integrated/discord-bot/how-to-get-role-id-and-role-name-on-discord.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.
