#Ping command being weird
1 messages · Page 1 of 1 (latest)
added and removed code for displaying uptime. that's why it isn't in the workbin. that shouldn't matter though
Nothing is wrong with ur ping cmd
There r tons of reasons unrelated to your bot to why it's going up
yeah, just wanna know why it may be doing this
It could be that discord is tweaking, or your server/network is doing smth funky, etc
+debug round(bot.latency * 1000)
19```
i think ill just ignore it for now, but it sucks
Question
How long did it take for the message to be sent
a second for each
Hm
it took around the same time every time i ran the cmd
Show me the updated code cause I dont see the uptime part anywhere
itr's the same. i added it after i noticed the big spike
I doubt it has to do with ur network but
Mind if you ping discord's api manually through ur terminal?
Sorry not api, I meant discord itself
is this what you were asking for
Yea
Okay yea it doesn't have anything to do with ur network
What version of the lib you're using?
v3.0.1
it does
From their ping stats, there isn't anything unusual tho
pinging cloud flare servers tho
it's always gonna be the same
🫣🫣
Judging from bot.latency, it gets it from the websocket connection
yes, so it has nothing to do with "ping discord.com"
Yea realized
not a library issue, as everyone would have the same problem
so most likely internet problem
So then why does it go from small latency to big per restart
🤷
but it's 100% not library issue
blame discord/your network
when I first came across the problem I was at a friends house on my laptop and then checked again once I got home on my PC that's connect to ethernet. Same problem
but it still could be though, maybe
Smth is probably interfering with the heartbeats then
might not be directly related to discord bot tho
https://www.reddit.com/r/discordapp/comments/qus48t/massive_ping_spikes_on_discord_only_no_other/
it's whatever. i was just curious as to why this could be happening and if anyone else was experiencingt the same. I'll worry about it later
thanks, ill read through it later. going to sleep
thanks for the input though guys
But it doesn't have anything to do with websockets
might not be directly related to discord bot tho
.
Even if it's not related, you can tell from their ping stats that there's nothing wrong
If that's what u meant by the comments
about isp problem
as the main reason for those spikes could be packet losses
Wouldn't that happen with any domain then?
🤷
if you don't have any problems with ping on VPS, and i
so what can be the issue then? user side
It could be smth from their bot too
meh
how the hell can you interfere ws ping
Is it not or what
the hell you mean "pinging asynchronous"
it's just a property
No like
When you ping to discord via the websocket heartbeat
I'm not talking about the bot.latency part itself rn
ofc it is
You could easily block the ping heartbeat just by having a codeblock
Codeblocks could be one out of many other possibilities
then bot would be fully dead??
That depends on how long it would block the pinging for