mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-18 04:04:27 +00:00
fix(discord): declare gateway heartbeat timeout state
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user