Automated tool for finding a user's presence across Discord servers

Hey everyone,

I’m working on a project where I need to find out which public Discord servers a specific user is part of. I have their Discord ID, but manually checking each server would take forever.

Does anyone know if there’s already a bot or tool that can do this automatically? I’m thinking something that could join public servers and scan for the user’s ID would be super helpful.

If nothing like this exists, I might try to make one myself. But I figured I’d check here first to see if anyone has come across something similar or has any ideas on how to approach this.

Thanks in advance for any suggestions!

1 Like

As someone who’s been in the Discord development scene for a while, I can tell you that creating such a tool would be walking a fine line ethically and legally. Discord’s API intentionally limits this kind of functionality to protect user privacy. I’ve seen similar projects get shut down pretty quickly.

Instead, you might want to consider building a tool that allows users to voluntarily share their server memberships. This could be a bot that users invite to their servers, which then compiles a list of shared servers for consenting participants. It’s a more user-friendly approach that doesn’t risk violating Discord’s terms of service.

Remember, respecting user privacy is crucial in today’s digital landscape. It’s always better to err on the side of caution when dealing with personal data.

yo dude, that’s a sketchy idea. discord’s pretty strict bout privacy n stuff. maybe think bout why u need this info? there’s prolly a better way to do whateva ur tryna do without creepin on peeps. if u really need it, ask users to share that info voluntarily instead. safer for everyone ya kno

I’d be cautious about developing a tool like that. While it might seem useful for your project, it could potentially be used for stalking or harassment if it fell into the wrong hands. Discord’s API has restrictions to prevent mass server scanning for good reasons. Instead, you might consider alternative approaches that respect user privacy and Discord’s terms of service. Perhaps focus on analyzing public data or communities where users voluntarily share their server affiliations. Remember, just because something is technically possible doesn’t mean it’s ethical or legal to implement. Maybe rethink the core goals of your project and see if there’s a more privacy-friendly way to achieve them.

I developed a semi working bot that complies data (while it’s finnicky when searching specifically for User IDs) it does somewhat work last time I used it took 10 minutes to show a list of the 100+ servers I have either been in, still am in or got banned from (was a game community server that did not approve of my methods of playing the game)

hey, can you share this

what bot is it? ive been in alot so that would be cool to see

Hey bro i know its a little late but did u manage to find something like that or did you create smth like that i was hoping you could share it w me

Discord doesn’t offer a global user presence search. Bots can only access presence and member data in servers they’ve joined, and only when the Presence and Server Members privileged intents are enabled. In servers you manage or share, you can listen for presenceUpdate events and send those changes to a webhook-based automation workflow for logging or alerts.

A bot can only check servers it has been added to; there’s no global endpoint for searching a Discord ID across public servers. Also, member-list access and online-status data are separate privileged intents, and neither grants access to servers the bot isn’t in. If you’re trying to map your own communities, a consent-based list from the server admins is the practical route.

Reviving this thread because Discord has clamped down even harder on scraping user data lately, so building anything like this will quickly get your bot banned. An opt-in system where members connect their accounts directly through OAuth2 is still your safest bet. Did you end up testing that path, or did you find another way to handle your project?

I realize this is from a while ago, but did anyone ever test that opt-in idea through OAuth2? Building a bot where people willingly link their accounts actually sounds like a fun weekend project for communities that want cross-server role syncing. You stay fully within the rules without risking a ban. Has anyone here tried setting up something similar lately?