Fixed channel being null

This commit is contained in:
Auxe
2016-09-05 19:14:55 -05:00
parent 550e0c8cf1
commit 169b09aadd

View File

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