DownloadUsersAsync() "doesn't work"
See original GitHub issueThis is an FYI issue for everyone with these issues.
You need MEMBERS intent for DownloadUsersAsync()
to work. (If you ask for presences with this operation, presence intent is also required.) Enable it on your bot page: https://discord.com/developers/applications
It Hangs
- See this comment
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
DownloadUsersAsync() "doesn't work" -
This is an FYI issue for everyone with these issues. You need MEMBERS intent for DownloadUsersAsync() to work. (If you ask for presences ......
Read more >Class SocketGuild
A task that represents the asynchronous removal operation. | Improve this Doc View Source. DownloadUsersAsync(). Declaration.
Read more >Guild Member Intent Missing, even though Guildmember ...
It was working fine until a certain point, when the users couldn't be downloaded anymore. I added All the Intents. The Exception and...
Read more >Commands which download guild users don't work
To address what kotz said: Incorrect. Some guilds work, some don't. It's a discord.net issue. The DownloadUsersAsync() never returns in some ...
Read more >My discord bot don't work out of my test server. : r/discordbots
I created a Discord bot to perform simple tasks. I worked on it for several days, and in the end, it was functioning...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
With Discord.Net >3.0 you need to specify the intent in your clients config, its also best practice to not download users on the gateway thread incase the call lasts long.
Glad to help.
@RheaAyase would you mind linking to my comment instead since it should contain most of the causes and solutions about it? Or add that info to the first post.