Using Identifiers
Discord identifiers are unique numbers that allow you to precisely identify each user, channel, server, or message on Discord. They provide a reliable and permanent way to identify elements on the platform.
Usefulness for moderation
Using Discord identifiers is particularly useful for moderation actions because it allows you to:
- Sanction an absent user: Ban someone who has left the server
- Avoid mistakes: Precisely identify the right person even with similar usernames
- Keep a record: Identifiers never change, unlike usernames
- Resolve conflicts: Clear identification in case of special characters
Enabling Developer Mode​
You need to enable Developer Mode to use Discord identifiers.
- On Discord Desktop/Web
- On Discord Mobile
- Open user settings
- Click the gear icon in the bottom left of the interface
- Access advanced settings
- In the sidebar, navigate to the Advanced tab
- Enable Developer Mode
- Enable the "Developer Mode" option by clicking the toggle switch
- The button should turn blue once enabled
- Open user settings
- Tap your avatar in the bottom right
- Tap the gear icon in the top right of the interface
- Access advanced settings
- Scroll down and tap "Advanced"
- Enable Developer Mode
- Enable the "Developer Mode" option
Copying an Identifier​
Once Developer Mode is enabled, you can copy the identifier of any element:
- User ID
- Channel ID
- Server ID
- Message ID
- Right-click on the avatar or username
- Select "Copy User ID"
- Right-click on the channel name in the channel list
- Select "Copy Channel ID"
- Right-click on the server name in the top left
- Select "Copy Server ID"
- Right-click on a message
- Select "Copy Message ID"
Usage with RaidProtect​
Identifiers can be used in RaidProtect commands instead of mentions:
/ban user:123456789012345678 reason:Violation des règles du serveur/clear amount:100 user:123456789012345678/userinfo user:123456789012345678/bypass minage user:123456789012345678
info
You can ban a user using their Discord identifier, even if they are not online or present on your server.