Fix: sharded client logout (#2179)
This commit is contained in:
@@ -178,7 +178,6 @@ namespace Discord.WebSocket
|
|||||||
await _shards[i].LogoutAsync();
|
await _shards[i].LogoutAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
CurrentUser = null;
|
|
||||||
if (_automaticShards)
|
if (_automaticShards)
|
||||||
{
|
{
|
||||||
_shardIds = new int[0];
|
_shardIds = new int[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user