Can`t get full list of user
See original GitHub issueI tried to get all user list of my guild (400members). But,returned response has just 270 users. This is sample of my source code. How to get full user list of my guild ? Thany kou!
Discord.NET 2.0.1 .Net Frame Wordk 4.6.1
var client = new DiscordSocketClient();
var token = "secret"
await client.LoginAsync(TokenType.Bot, token);
await client.StartAsync();
//this returned users list has just 270 elements.
var users=client.Guilds.ToList()[0].Users.ToList();
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Unable to extract full user list from AD OUs having 2000+ ...
I want to extract all users in Active Directory, using the following command. Few OUs have more than 2000 user accounts. Here using...
Read more >How to list all the users on a Windows computer (7 ways)
Open Computer Management, and go to Local Users and Groups > Users. On the right side, you get to see all the user...
Read more >How to see all existing user accounts on Windows 10
Open Start. · Search for Command Prompt and click the top result. · Type the following command to list all the existing accounts...
Read more >User list entries cannot be seen by anyone but that user
i have a user that when they add an item to a list, they are the only user that can see the item....
Read more >Export List of All AD user accounts
Just go to Active Directory Users & Computers -> User OU. In the toolbar at the top there's an Export List option. That's...
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
Set
AlwaysDownloadUsers = true
in your client config.Guild information isn’t completed in its retrieval and processing until the Ready event is fired. Put all your logic in an event handler for that.