Ping
I'm starting over creating a bot, I do have a basic JS knowledge but not too much
The point is that, while reading docs, i saw the client.ws, in whick i can get the bot's ping, but when I execute the code it says "Cannot read properties of undefined (reading 'ws')"
5 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!
- ✅
Marked as resolved by OP[email protected]
node v20.17.0
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
it worked, thanks
i got it
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View