How do i display the ping of the bot and API ping
Im useing the latest Discord.js But i cant find a working option any suggest im also useing / commands
22 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
i keep gettinh this error TypeError: Cannot read properties of undefined (reading 'ws')
Then you didn't define ws.

how do i do this 1 sec

ive tried both of them
What's your exact discord.js version
do npm list discord.js
will do 1 second
[email protected]
try using interaction.client.ws.ping instead of client.xxx
ill give it a shot
no need to pass client as a seperate variable
that has worked
since its included in interaction
but how do i get the actual bot ping to?
so i have websocket ping but how about actual bot ping
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
the latency
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i believe so
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Okay Thanks!