Discord bot that disconnects after a few minutes/hours
Hello,
I have an official Apex Legends discord server admin who gave me the bot they developed for their servers.
The bot displays and updates every minute to show the status of Apex Legends game servers.
I have a problem with the bot today for some reason!
The bot disconnects on its own after a few hours or sometimes a few minutes.
I managed to have logs but I don't understand, if people can help me that would be cool.
(The admin also doesn't understand wh
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
That is generally just a normal nodejs error for a bad network connection
Nothing in it seems to be discord.js related
WTF no lol
This also happens to me on hosts!
And there's no problem on my side, it's the same as him
They are necessarily linked because they display the servers well when they are online.
The bot is currently running on Visual studio, it never stops.
On a CMD, I have the problem of crashing
On the heroku host, no problem,
On free hosting there are problems too
what Qjuh said still applies, this isn't a problem with djs, and this has to do with your host/shell (neither of which are djs related).