Browse Source

Fixed Server.RoleCount returning channel amount.

tags/docs-0.9
SSStormy 9 years ago
parent
commit
c33a1f2cd3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Models/Server.cs

+ 1
- 1
src/Discord.Net/Models/Server.cs View File

@@ -108,7 +108,7 @@ namespace Discord
/// <summary> Gets the number of users in this server. </summary>
public int UserCount => _userCount;
/// <summary> Gets the number of roles in this server. </summary>
public int RoleCount => _channels.Count;
public int RoleCount => _roles.Count;

internal Server(DiscordClient client, ulong id)
{


Loading…
Cancel
Save