Problem: Preparing to connect to the gateway...
Hello i have problem, im running my discord bot on a hosted server, it hasn't worked for the past few days.
I need help i dont understand why its not working anymore.
Anyone have a solution ?
Using discord.js 14.9.0, on typescript node project
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Is this all it logs in the console?
Only two logs from debug listener: Provided token and Preparing to connect to the gateway...
Yes im using a cloud hosting web service from onrender, an http server with node express typescript, everythings worked since 4-5 months, except that in recent days the bot stops by itself for no valid reason.
I dont understand why
Ok how I can avoid the problem ? Do you have any solution to resolve it ?
Ok, i'll see what i can do, thanks for your help, have a nice day