Is there any way for me to check which servers a user is on by their ID? , or any API that lets me s

Is there any way for me to check which servers a user is on by their ID? , or any API that lets me see which server the user is on?
2 Replies
d.js toolkit
d.js toolkit4w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Squid
Squid4w ago
With discord.js, you would have to manually fetch the member in each of the guilds that your bot is in, and those that resolve instead of reject are mutual servers with your bot and the user You can actually get a list of all the user's servers with OAuth2 though, but not the gateway