Ban by ID on Discord server
How to ban a user by ID from your Discord server even if they've already left
3 min read
Trying to ban but see the following error?
"Unable to load profile banner, badges, and about me"
With the following steps you can still identify these users and ban them.
You may also want to use this technique if you've seen users be abusive in other servers and want to prevent them from joining yours in the event that you share communities.
Enable Developer Mode
The first step is to enable Developer Mode in your Discord options. This can be done either from the mobile app or the desktop/web interface.
- Go into your User settings
- Go into Advanced
- Toggle on Developer Mode
This will give you the "Copy ID" button.
Note: You will need to quit and re-open the Discord app in order for this change to take effect on the desktop app. In the browser, you only need to refresh the page.
Get the user's ID
- Go into your Audit Logs (server settings -> Audit Logs)
- Find the deleted messages and right click on the user's name and click Copy ID.
Note: If you do not see the "Copy ID" option, quit and re-open the Discord desktop app, or refresh the Discord in the browser.
You should now have an ID copied to your clipboard (unique integer).
Tag the abusive user in a channel
You can tag the abusive user in any channel by typing the following syntax where
123456789 is the user ID:
This should show their username. Hit enter to send the message.
Ban the mentioned user
Once the mention is sent, you should be able to right click it and the Ban option should be available.
Discord supposedly does an IP ban which means the user is banned by their IP address, but these can be easily circumvented even by users that are not tech-savvy. If they are a persistent troll, they will come back.
While a user can be banned, it would be advantageous to increase the security of your Discord server to ensure only users with real accounts join.
Membership screening and Verification level
You can add membership screening to your server.
If you enable the highest level of moderation, you may be creating barriers for your fans because not all people of all ages own a cell phone. Use this setting with caution.
Ban brand new users
Ban users whose accounts have been created within a minimum amount of time.
For example, you may have banned a user's real account but then they create a smurf account to troll you further because they have nothing better to do. You can ban brand new accounts. This can be done in an automated way or a manual way.
Manually banning users by account age
You can use the site discord.id to verify the age of a user's account to see when it was created.
Feel free to verify this age and see if it looks fishy before banning.
Auto-ban users by account age
This may be risky because users may have watched your stream on Twitch or elsewhere and joined just to be part of your community. You risk alienating real users to protect yourself from trolls. Use an auto-ban solution with caution.
At this time I have not tested any and cannot make a recommendation, though this section may be updated in the future.
Improving this information
If you have ideas and suggestions to further secure your Discord communities from trolls, and if you have ideas for automation, I'd love to here it. Feel free to comment here or join my Discord.