From a6e8542d50c312e6540e98deee845bc7f515a580 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 3 Nov 2024 01:22:12 -0500 Subject: [PATCH] fuck you rena --- client.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client.js b/client.js index 6187a5a..72d43cc 100755 --- a/client.js +++ b/client.js @@ -315,6 +315,11 @@ async function handshake(name, password){ deek.emit("error", "timed out") }); + + const keep_alive = setInterval(function(){ + + ws.ping(); + }, 5000); }); ws.once("close", function(){