Skip to content

Commit 6e87c55

Browse files
authored
Update roles.md (AnIdiotsGuide#82)
Corrected information about getting the ID of a role.
1 parent 7707951 commit 6e87c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

understanding/roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let myRole = message.guild.roles.find(role => role.name === "Moderators");
2525
```
2626

2727
{% hint style="info" %}
28-
To get a role ID, mention the role with a `\` before it in a Discord channel \(e.g. `\@rolename`\). You can then grab the ID from the output message. Right-clicking a role does nothing in the UI, there's currently no way to get it from there.
28+
To get the ID of a role, you can either mention it with a `\` before it, like `\@rolename`, or copy it from the role menu. If you mention it, the ID is the numbers between the `<>`. To get the ID of a role without mentioning it, enable developer mode in the Appearance section of your user settings, then go to the role menu in the server settings and right click on the role you want the ID of, then click "Copy ID".
2929
{% endhint %}
3030

3131
### Check if a member has a role

0 commit comments

Comments
 (0)