Method GetAllMembersAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetAllMembersAsync()
Retrieves a full list of members from Discord. This method will bypass cache.
public Task<IReadOnlyCollection<DiscordMember>> GetAllMembersAsync()
Returns
- Task<IReadOnlyCollection<DiscordMember>>
A collection of all members in this guild.
Exceptions
- ServerErrorException
Thrown when Discord is unable to process the request.