Fixed channel being null
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user