We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e96c247 commit 3b544c4Copy full SHA for 3b544c4
src/structures/Node.ts
@@ -496,7 +496,6 @@ export class LavalinkNode {
496
497
this.resetAckTimeouts(false, true);
498
499
- if (this.pingTimeout) clearTimeout(this.pingTimeout);
500
this.pingTimeout = setTimeout(() => {
501
this.pingTimeout = null;
502
if (!this.socket) {
@@ -1180,7 +1179,7 @@ export class LavalinkNode {
1180
1179
if (this.options.enablePingOnStatsCheck) this.heartBeat();
1181
1182
if (this.heartBeatInterval) clearInterval(this.heartBeatInterval);
1183
-
+
1184
if (this.options.heartBeatInterval > 0) {
1185
// everytime a pong happens, set this.isAlive to true
1186
this.socket.on("pong", () => {
0 commit comments