This reverts commit 6039378c52.
This commit is contained in:
@@ -152,8 +152,7 @@ namespace Discord.WebSocket
|
|||||||
LogGatewayIntentWarnings = config.LogGatewayIntentWarnings;
|
LogGatewayIntentWarnings = config.LogGatewayIntentWarnings;
|
||||||
HandlerTimeout = config.HandlerTimeout;
|
HandlerTimeout = config.HandlerTimeout;
|
||||||
State = new ClientState(0, 0);
|
State = new ClientState(0, 0);
|
||||||
if (shardedClient is null || parentClient is null)
|
Rest = new DiscordSocketRestClient(config, ApiClient);
|
||||||
Rest = new DiscordSocketRestClient(config, ApiClient);
|
|
||||||
_heartbeatTimes = new ConcurrentQueue<long>();
|
_heartbeatTimes = new ConcurrentQueue<long>();
|
||||||
_gatewayIntents = config.GatewayIntents;
|
_gatewayIntents = config.GatewayIntents;
|
||||||
_defaultStickers = ImmutableArray.Create<StickerPack<SocketSticker>>();
|
_defaultStickers = ImmutableArray.Create<StickerPack<SocketSticker>>();
|
||||||
|
|||||||
Reference in New Issue
Block a user