Unhandled promise rejection: Error: getaddrinfo EAI_AGAIN gateway.discord.gg
Hi!
My bot have been woking as it should for abt a week, but yesterday night, my bot keeps turning off by itself. It is coded in replit, and hosted on uptimerobot.
But now i get this error when i start up my bot
What is the problem, and how do i fix it?
1 Reply
- 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!
- ✅
Marked as resolved by OP