UND_ERR_CONNECT_TIMEOUT
Hello I am new to discord.js. I am trying to follow guide to learn how to bulid a basic bot on discord. As image shows, I run the script it comes to timeout fault. Then I try to ping discord.com. I certainly confirm the question is how to connect the discord server. I am now in China using a VPN. But it does not still work. What should I do? I really want to develop a Bot for my own community. Thanks!



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!