Using IDs
Discord IDs are unique numbers that precisely identify each user, channel, server, or message on Discord. They are a reliable and permanent way to identify elements on the platform.
Relevance for Moderation
Using Discord IDs is especially 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 track: IDs never change, unlike usernames
- Conflict resolution: Clear identification in case of special characters
Enabling Developer Mode
You need to enable Developer Mode to use Discord IDs.
- On Discord Desktop/Web
- On Discord Mobile
- Open User Settings
- Click the gear icon ⚙️ at the bottom left of the interface
- Access Advanced Settings
- In the sidebar, go to the Advanced tab
- Enable Developer Mode
- Turn on the "Developer Mode" option by clicking the toggle button
- The button should turn blue once enabled
- Open User Settings
- Tap your avatar at the bottom right
- Tap the gear icon ⚙️ at the top right of the interface
- Access Advanced Settings
- Scroll down and tap "Advanced"
- Enable Developer Mode
- Turn on the "Developer Mode" option
Copying an ID
Once Developer Mode is enabled, you can copy the ID 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 at the top left
- Select "Copy Server ID"
- Right-click on a message
- Select "Copy Message ID"
Using with RaidProtect
IDs can be used in RaidProtect commands instead of mentions:
/ban user:123456789012345678 reason:Server rules violation
/clear amount:100 user:123456789012345678
/userinfo user:123456789012345678
/bypass mining user:123456789012345678
info
You can ban a user using their Discord ID, even if they are not online or present in your server.