I am creating a discord bot and using an always on Repl to keep the bot online at all times. Something I have noticed, the bot seemingly drops the connection and restarts at random intervals. This is a bit of a problem for the bot as there is discord embed that needs to be kept open so users can interact with it, if the connection is closed the embed will no longer work and a new one will need to be created. Which is not too big of a deal honestly, but another issues comes when the connection drops randomly while interacting with the bot. Is this something that is potentially done wrong on my end? Any info on this would be helpful, thank you!
Replit Profile: https://replit.com/@isaacjtrigoso