Method GetMemberCountsAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetMemberCountsAsync()
Gets the number of members in each role.
public Task<Dictionary<DiscordRole, int>> GetMemberCountsAsync()
Returns
Exceptions
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.