How to Find Out a Discord Role ID

It's easier than you might think.

A role ID is a unique identification number that all roles in Discord are automatically given. They're used in things like bots, and by developers.

Firstly, you must make sure that you can mention the role you wish to retrieve the role ID of. You can do this by going into your server settings, and toggling the "Allow anyone to @mention this role" option on. As shown in this image:

Allow mention option for a Discord role, used in obtaining the role ID

After making sure that anyone can mention the role, send the message: \@RoleName, replacing "RoleName" with the name of the role you wish to find the role ID for. If your role is called "AwesomeRole", you would type \@AwesomeRole. Here's an image of what the result of sending that message should be:

The message that is sent when you type the command to receive a role ID


Similar articles we think you might like

Making Private Text and Voice Channels

A guide to making exclusive channels in your Discord server.

Read More
Setting Up a Mute Microphone Hotkey

Turn your mic on and off with the press of a button.

Read More
How to Lock a Discord Channel

Prevent people from sending messages in a Discord channel.

Read More