parent
4500894f94
commit
da8b5bc608
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue