dubtrackapi icon indicating copy to clipboard operation
dubtrackapi copied to clipboard

Bot breaks when mentioned

Open Fuechschen opened this issue 10 years ago • 2 comments

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.

Fuechschen avatar Oct 06 '15 01:10 Fuechschen

Addition: the error only occurs if the chatmessage only contains the mention.

Fuechschen avatar Oct 11 '15 03:10 Fuechschen

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.

ImGrumpy avatar Oct 13 '15 01:10 ImGrumpy