question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't look up a user by any means

See original GitHub issue

I can’t look up any user that isn’t the bot creator or the bot.

Version: Discord.Net v2.3.0-dev-20210121.1 (API v6)

Expectation: it’s possible (and allowed) to look up a user active in a server my bot is in Actual: Calling GetUser() with either a snowflake ID or a name#discriminator combo is returning null.

  • The snowflake was obtained by right-clicking a user and clicking “Copy ID”
  • The user is in the same server
  • server members intent is true before and after joining the bot to the server

Expectation: it’s possible to download a list of users and look up a user that way Actual: Client.Guilds always evaluates to zero after any amount of time the bot has been active. Therefore, DownloadUsersAsync(Client.Guilds) always fails.

  • server members intent is true before and after joining the bot to the server

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
LedgendODSTcommented, Mar 3, 2021

Hmm have you activated intents on the web page too?

0reactions
NinthDesertDudecommented, Mar 22, 2021

I’m no longer using discord.net, closing now

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does it mean when you press on someone's name ...
When it says that the user was not found, it means that the account (temporarily or permanently) has been deactivated by Instagram or...
Read more >
I can't find someone using Facebook search.
If someone can't find you using facebook search, it may be because: You've blocked someone. If you block someone, they won't be able...
Read more >
How To Find a “User Not Found” on Instagram
Go Around “User Not Found” ... Contrary to popular belief, getting the “User not found” message doesn't automatically mean the person in question...
Read more >
What 'User Not Found' Means on Instagram
If you see a "user not found" message on Instagram, it could be one of several issues with an account.
Read more >
Jorja Smith - By Any Means (Official Video) - YouTube
By Any Means, out now: https://orcd.co/byanymeans ... just to put our hands up They could never see the kingdom coming You wanna see...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found