Fixed GUILD_UPDATE crash
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Discord.API.Models
|
||||
|
||||
//Servers
|
||||
public sealed class GuildCreate : ExtendedServerInfo { }
|
||||
public sealed class GuildUpdate : ExtendedServerInfo { }
|
||||
public sealed class GuildUpdate : ServerInfo { }
|
||||
public sealed class GuildDelete : ExtendedServerInfo { }
|
||||
|
||||
//Channels
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace Discord
|
||||
}
|
||||
public async Task DisconnectAsync()
|
||||
{
|
||||
if (_webSocket != null)
|
||||
if (_tasks != null)
|
||||
{
|
||||
_cancelToken.Cancel();
|
||||
await _tasks;
|
||||
|
||||
Reference in New Issue
Block a user