Closed thelifeworm closed 2 years ago
After #define ASIO_NO_EXCEPTIONS
i get exception from sleepydiscord.
Is there any way to replace the exception?
for example to return an error code or something similar?
The docs already has multiple ways to avoid a crash from there kinds of errors. https://yourwaifu.dev/sleepy-discord/docs/requests 2nd, you really should slow down if you're getting rate limited. Last, defining ASIO_NO_EXCEPTIONS here isn't going to help you. LoL 🤣
Oh thank you. I now use .error()
When the bot writes a lot at a time in the chat. Happens
and it crashes. std::terminate![image](https://user-images.githubusercontent.com/48316246/166667979-7ba87d67-8fcc-4fd7-b95e-2394b873d919.png)
How not to get a crash?