diff --git a/src/client/events/voiceStateUpdate.js b/src/client/events/voiceStateUpdate.js index 75a2732..5415519 100644 --- a/src/client/events/voiceStateUpdate.js +++ b/src/client/events/voiceStateUpdate.js @@ -37,12 +37,7 @@ module.exports = { if (newState.channel !== radio.voiceChannel) { change = true; radio.voiceChannel = newState.channel; - /*radio.connection = getVoiceConnection(voiceChannel.guild.id) ?? - joinVoiceChannel({ - channelId: voiceChannel.id, - guildId: voiceChannel.guild.id, - adapterCreator: createDiscordJSAdapter(voiceChannel) - });*/ + radio.connection = getVoiceConnection(voiceChannel.guild.id); //radio.connection = await newState.channel.join(); } }