So this is incredibly annoying to test because I have to wait several hours to even see what’s happening, but basically after several hours of running perfectly fine my discord bot’s account goes offline and no longer responds to chat messages. When it does this I have to restart the bot from the server. It may be connected to inactivity on the discord servers, I’m not sure as I haven’t identified a pattern yet, however it usually happens at night when I am sleeping so it’s quite the hassle.
It’s worth noting that I am keeping the server awake both from my code and using uptime robot. Uptime robot says it’s live and the server console when the downtime happens is reporting pings, so the server itself isn’t down, just the connection to discord.
If anybody has experienced this issue and resolved it, or thinks they are able to help, it would be VERY MUCH appreciated, because I’m using glitch so I can host this bot 24/7 like I’m sure many people do, if this can’t be resolved then my hopes of making a discord bot are basically dead. Thanks in advance.