Closed trashbytes closed 8 years ago
@trashbytes I am sorry its hard to debug. Can you give me more clue?
Every time a message the bot receives starts with "/error" it crashes. Simple as that. This also happens with the echo bot and I think even before
bot.on('message', function(message) {
//code
});
is even executed.
I can confirm this error. By adding an .on('error') I can prevent this crash. If I send an other unknown command eq '/foobar'. Bot is still working.
yup thanks what I did too.
When you send "/error" the bot crashes with following error message: