#djs 14.16.3 - voiceStateUpdate - what do "sessionId" changes mean?

6 messages · Page 1 of 1 (latest)

dense hamlet
#

Hello,

I have asked this in #djs-help-v14 before and someone replied, but never got an actual answer.

I've got pretty much all voicestateupdate events coded; join, leave, switch, mute, deaf etc etc etc with an else { } to console log if something else happens, and it did.

Comparing the old and newstate of that particular event, the only thing changed is the ''sessionId''.

It happens very infrequently/randomly, but i was wondering why that happens, because i can't find anything searching in here or googling it, does anyone have an idea?

Maybe bad internet connection and the voice user is reconnecting?

wicked lotusBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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
snow patrol
#

That's the gateway connection session id. Discord asks to reconnect sometimes

dense hamlet
#

ive been monitoring the specific sessionId changes for over a week now, its a little discord server, and it seems that with one particular user it keeps happening, while in comparison others dont have it (that much)

snow patrol