Browse Source

Fixed channel being null

pull/270/head
Auxe 8 years ago
parent
commit
169b09aadd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Discord.Net/WebSocket/DiscordSocketClient.cs

+ 1
- 0
src/Discord.Net/WebSocket/DiscordSocketClient.cs View File

@@ -793,6 +793,7 @@ namespace Discord.WebSocket
if (guild != null) if (guild != null)
{ {
guild.AddChannel(data, DataStore); guild.AddChannel(data, DataStore);
channel = DataStore.GetChannel(data.Id);


if (!guild.IsSynced) if (!guild.IsSynced)
{ {


Loading…
Cancel
Save