It is a bit disturbing that when DEBUG log is on, a round full minute floods the log and loads the bot for the purpose of checking all rooms. Optionally, I changed it to 8 hours (that is, to check rooms up to three times a day). I don't know if that's the case or bug. Could somebody give us some feedback on this? If I leave it with an 8 hour update will the system work the same?
// execute sync every minute
setInterval(function() {
syncChannels();
}, 28800000); // 1 min
You should disable debug log in production to exclude spam in log.