fix(discord): declare gateway heartbeat timeout state

This commit is contained in:
Peter Steinberger
2026-04-12 11:52:38 -07:00
parent cb5a25d8d8
commit d35cc6ef86

View File

@@ -248,6 +248,8 @@ function createGatewayPlugin(params: {
};
}): carbonGateway.GatewayPlugin {
class SafeGatewayPlugin extends carbonGateway.GatewayPlugin {
declare private firstHeartbeatTimeout: ReturnType<typeof setTimeout> | undefined;
private gatewayInfoUsedFallback = false;
constructor() {