In my code, I tried to intercept all possible errors in the bot that could occur, but it still shuts down after a while. What could be the reason for this?
If you want our frankly bad code, here is a link to the repository: https://github.com/mindenit/nure-schedule-bot
I don't think you'll need to go any further than Program.cs.