Closed JH220 closed 2 years ago
Think the bug occurred because the database sql queries took too long. I put the deferReply at the beginning, so it should not occur anymore.
https://github.com/JH220/discord-clearchatbot/commit/a68fc8b3ea16099859710cf78156270a0520f7f2
The bot randomly crashes when a command is executed.
https://github.com/JH220/discord-clearchatbot/blob/438294e65be14436a956e40e05c3504b9aa0a059/src/bot.js#L73