From c33a1f2cd36711b359652c41b4789e8984729959 Mon Sep 17 00:00:00 2001 From: SSStormy Date: Mon, 15 Feb 2016 14:40:48 +0200 Subject: [PATCH] Fixed Server.RoleCount returning channel amount. --- src/Discord.Net/Models/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net/Models/Server.cs b/src/Discord.Net/Models/Server.cs index aaed6aac8..91300e6fd 100644 --- a/src/Discord.Net/Models/Server.cs +++ b/src/Discord.Net/Models/Server.cs @@ -108,7 +108,7 @@ namespace Discord /// Gets the number of users in this server. public int UserCount => _userCount; /// Gets the number of roles in this server. - public int RoleCount => _channels.Count; + public int RoleCount => _roles.Count; internal Server(DiscordClient client, ulong id) {