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