From f522053cf07ca7df26768d16c1b146649208e2b5 Mon Sep 17 00:00:00 2001 From: RogueException Date: Wed, 23 Dec 2015 05:02:42 -0400 Subject: [PATCH] Fixed DiscordClient.PrivateChannels --- src/Discord.Net/DiscordClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Discord.Net/DiscordClient.cs b/src/Discord.Net/DiscordClient.cs index 239c7c073..92f0fbe26 100644 --- a/src/Discord.Net/DiscordClient.cs +++ b/src/Discord.Net/DiscordClient.cs @@ -66,9 +66,9 @@ namespace Discord /// Gets a collection of all servers this client is a member of. public IEnumerable Servers => _servers.Select(x => x.Value); // /// Gets a collection of all channels this client is a member of. - // public IEnumerable Channels => _servers.Select(x => x.Value); + // public IEnumerable Channels => _channels.Select(x => x.Value); /// Gets a collection of all private channels this client is a member of. - public IEnumerable PrivateChannels => _channels.Select(x => x.Value); + public IEnumerable PrivateChannels => _privateChannels.Select(x => x.Value); /// Gets a collection of all voice regions currently offered by Discord. public IEnumerable Regions => _regions.Select(x => x.Value);