Closed julianortlieb closed 3 years ago
You seem to never be receiving the voice state update event for your client joining the voice channel.
Do you have the GUILD_VOICE_STATES
intent enabled? (If you do not specify intents, you are fine)
Does the bot join the voice channel? (As-in in the Discord client you use)
Can you try logging client.ws.on('VOICE_STATE_UPDATE', console.log)
and client.on('voiceStateUpdate', console.log);
?
(Do they log and if so what?)
Ohh you are right. It was the intents that I had set incorrectly. I think the issue is done. Thanks!
Description
I tried to join a voice channel normaly with following code.
Code
Console output
Console output with
client.on('debug', console.log);
Strangely enough the session_ID is undefined here:
[VOICE (***:2)]: Authenticated with sessionID undefined
. All personal data are replaced by ***.Further details: