Other people have been using the bot (cool) thus showing me how bad the bot handles errors. Every once in a while, the bot doesn't respond to me, and I know that little stinker is in a crashed state.
The most common cause right now is a non-200 response from the Telegram API.
I'm apparently throwing errors asynchronously without catching them. Off the top of my head, I'm probably not catching errors in the token streaming system's editLoop which gets run in setTimeout.
Other people have been using the bot (cool) thus showing me how bad the bot handles errors. Every once in a while, the bot doesn't respond to me, and I know that little stinker is in a crashed state.
The most common cause right now is a non-200 response from the Telegram API.
I'm apparently throwing errors asynchronously without catching them. Off the top of my head, I'm probably not catching errors in the token streaming system's
editLoop
which gets run insetTimeout
.