Browse Source

Implemented GetChannels for Discord.DiscordClient.

pull/278/head
Menno van Leeuwen 8 years ago
parent
commit
373f275fff
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/Discord.Net/DiscordClient.cs

+ 6
- 0
src/Discord.Net/DiscordClient.cs View File

@@ -380,6 +380,12 @@ namespace Discord
}
return channel;
}

public ConcurrentDictionary<ulong, Channel> GetChannels()
{
return _channels;
}

public Channel GetChannel(ulong id)
{
Channel channel;


Loading…
Cancel
Save