mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 21:33:17 +00:00
Updated voiceStateUpdate
This commit is contained in:
parent
a5ffaadf31
commit
e267b06cf1
@ -37,12 +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(voiceChannel.guild.id);
|
||||||
joinVoiceChannel({
|
|
||||||
channelId: voiceChannel.id,
|
|
||||||
guildId: voiceChannel.guild.id,
|
|
||||||
adapterCreator: createDiscordJSAdapter(voiceChannel)
|
|
||||||
});*/
|
|
||||||
//radio.connection = await newState.channel.join();
|
//radio.connection = await newState.channel.join();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user