Table of Contents

Method GetRoleMemberCountsAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetRoleMemberCountsAsync()

Gets the member counts of all roles except the @everyone role in this guild.

public Task<IReadOnlyDictionary<ulong, int>> GetRoleMemberCountsAsync()

Returns

Task<IReadOnlyDictionary<ulong, int>>

Role ids and their corresponding member counts.