Bot randomly stops responding to messages then starts again after another random amount of time #6142
-
So I've created a bot which takes quotes from pre-existing text, uploads gifs, etc. But I'm trying to code in a trivia portion where the bot asks the user a question and the user has to respond with the correct answer. The code so far:
However, sometimes after like 5 messages, it'll stop then start up again after a couple minutes but other times it'll be after 15 message and start up again in like an hours time. Anyone know what the problem is? If so, how could I detect that it's happening so I can send a message to the channel. P.S. Sorry for my bad formatting, I'm not use to github markdown |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
Could you use proper formatting? It's hard to understand if any of this is right, indent-wise. |
Beta Was this translation helpful? Give feedback.
Could you use proper formatting? It's hard to understand if any of this is right, indent-wise.