How To Get Role ID on Discord

How To Get Role Id Discord

Discord offers various ways of interacting with people and accepting various functionalities, such as roles.

Moreover, roles are mainly used with bots, and you can check the specific role id of a given role.

Besides, as a developer, you may want to know the role ID of a given role without using programming.

Discord lets users access the role ID of various roles from the Discord menu.

Quick Answer

If a role is set to allow being mentioned, you can mention it starting with @, and the result will give the role’s ID. Alternatively, you can enable the “developer options” on your Discord. Next, tap on the specific server and click the settings icon for the server. Tap the “roles” tab on the sidebar, and the various roles will get listed. To get the role ID of any role, click the three vertical dots and copy the ID.

We will begin by understanding what role ID means on Discord. Next, we will see the two options for getting the role ID on Discord. Further, we will discuss the frequently asked questions about Discord role IDs. Let’s dig in!

What is Role ID on Discord?

Discord lets developers specify the roles and permissions of given users.

The role ID refers to a string of unique numbers for each role on Discord to differentiate them. The roles come in handy when designing bots and for developers.

The role ID is only visible after you enable the developer mode on Discord.

Role ID help in Discord server management by letting developers create functionalities that let people separate people based on role management.

How To Get Role ID on Discord

There are two ways of getting a role ID on Discord.

Method #1: Mentioning the Role

If you know the name of a given role, you can set it to allow getting mentioned.

Once you do, mention the role starting with @, and the result will display the role’s ID.

Follow the below steps:

  1. Open your target server.Navigate To The Server
  2. Tap on the drop-down icon next to the server’s name at top.Click On The Drop-Down Arrow
  3. Go to the “Server settings”.Select Server Settings
  4. Navigate to “Roles” from the settings listed.Select Roles
  5. Click on the specific role you want to allow to get mentioned.Click On The Specific Role
  6. Enable the option “Allow anyone to @mention the role”.Enable The Option Allow Anyone To @Mention The Role
  7. Click on the “Save Changes” button.Click On Save Changes Button
  8. Go back to your server by clicking on “ESC” button.Click On The Esc Icon
  9. Mention the role by typing “@role-name”. Replace the “role-name” with your role’s name and press the enter key.Typing @Role-Name

The role’s ID will get generated for you to use for various activities.

Method #2: Using Developer Mode

By enabling the developer mode, you can access the various roles and their role IDs using the below steps.

  1. Open your Discord app and log in.Open Discord
  2. Tap on the settings icon at the bottom.Click On Gear Icon At Bottom Left
  3. The user settings will appear. Click on the “Advanced” section.Select Advanced
  4. On the right, enable the “Developer Mode” option to allow us to access more functionality.Turn On The “Developer Mode” Toggle
  5. Click the “Esc” button to go back to the main Discord window.Click On The Esc Icon
  6. Click on your target server.Navigate To The Server
  7. Tap the drop down icon next to the server’s name.Click On The Drop-Down Arrow
  8. Tap the “Server settings” option.Select Server Settings
  9. Tap on the option for “Roles” on the left.Select Roles
  10. Next, locate your target role and click the three dots next to it on the right.Click The Three Dots
  11. Click the “Copy Role ID” button.Click The Copy Role Id Button

That’s it. You’ve managed to get your role ID on Discord, and you can use the copied ID for various functionalities, such as creating the single role management functionality for your Discord bot.


Role IDs are how Discord distinguishes various roles on the platform.

Start by enabling the developer mode from settings to get the role ID.

Next, click on the target server and tap the option for “Roles”.

Clicking the ellipsis button next to the role will allow you to copy its role ID.

Frequently Asked Questions

What is a Discord Role ID?

A role ID on Discord is a unique number that Discord uses to distinguish various roles. It is a unique numerical value associated with each role on Discord.

How can I copy a Role ID on Discord?

You must first access the role ID for you to copy it. So, open the settings for your Discord and click on the “Advanced options”. Enable the “Developer mode”, then click the “Esc” button. Locate your target server and tap on its name. Further, click the settings icon for the server, and click on “Roles” on the next screen. Locate a role, click the ellipsis button, then click the “Copy ID”.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top