From da8b5bc608d8e37903013a2ebdfc4b23aba41be6 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Fri, 19 Feb 2021 08:16:57 +0100 Subject: [PATCH] :bug: Use channel#join() instead of setChannel() Closes #282 --- src/Player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.js b/src/Player.js index 4c25b15..38f01f9 100644 --- a/src/Player.js +++ b/src/Player.js @@ -487,7 +487,7 @@ class Player extends EventEmitter { if (queue.voiceConnection.channel.id === channel.id) return queue.voiceConnection.dispatcher.pause() - message.guild.voice.setChannel(channel) + channel.join() .then(() => queue.voiceConnection.dispatcher.resume()) .catch(() => this.emit('error', 'UnableToJoin', message)) }