Updated voiceStateUpdate

This commit is contained in:
Christer Warén 2021-08-04 14:42:37 +03:00
parent e267b06cf1
commit f437797bed

View File

@ -37,7 +37,7 @@ module.exports = {
if (newState.channel !== radio.voiceChannel) { if (newState.channel !== radio.voiceChannel) {
change = true; change = true;
radio.voiceChannel = newState.channel; radio.voiceChannel = newState.channel;
radio.connection = getVoiceConnection(voiceChannel.guild.id); radio.connection = getVoiceConnection(newState.channel.guild.id);
//radio.connection = await newState.channel.join(); //radio.connection = await newState.channel.join();
} }
} }