Browse Source

fixed timing out

master
lolcat 3 months ago
parent
commit
fd8c4278f8
  1. 8
      bot.js
  2. 4
      rena.conf

8
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){

4
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

Loading…
Cancel
Save