dubtrackapi
dubtrackapi copied to clipboard
Bot breaks when mentioned
Hi, i am currently experimenting with you api, but erverytime i mention the bot it just craches with this message: https://share.fuechschen.org/data/2015/10/2015-10-06_02-58-15.jpg.
I also have to restart the whole pm2 instance then to get the bot back to work then.
My bot-script is pretty much the same as your example except i added an output of the roomstats to a json file.
Addition: the error only occurs if the chatmessage only contains the mention.
This happens here too, though I wouldn't call it a crash. Exactly the same type of problem as https://github.com/atomjack/dubtrackapi/issues/7 (though with slightly different errors) - the bot will just go non-responsive as if it can no longer see events. Existing timers do continue to run though, so it's not a full lockup.