From fd8c4278f872cde93517f3ec5d985ea8d464c9ea Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 4 Sep 2022 21:30:04 -0400 Subject: [PATCH] fixed timing out --- bot.js | 8 ++++++++ rena.conf | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index e393926..fa2c15e 100644 --- a/bot.js +++ b/bot.js @@ -226,6 +226,14 @@ client.on("ready", function(){ } client.switchChannel(config.channel); + + // @TODO + // fix bot timing out and not responding to messages + setInterval(function(){ + + // we just switch to current channel every 2mins lol + client.switchChannel(client.user.channel.id); + }, 120000); }); client.on("message", async function(message){ diff --git a/rena.conf b/rena.conf index 0d3b224..895530b 100644 --- a/rena.conf +++ b/rena.conf @@ -1,8 +1,8 @@ # Rena mumble config file -ip=localhost +ip=lolcat.ca port=64738 -name=rena_chan +name=rena_debug password= # Certificate location