bot now actually joins voice after crashing
This commit is contained in:
parent
9a86fe7ee8
commit
1b83490f18
@ -75,7 +75,7 @@ module.exports = (mes, komand, celArgs) => {
|
||||
if (celArgs !== 'potichu') mes.channel.send('<@&591306633196339261> vojs');
|
||||
|
||||
if (mes.guild.voice) {
|
||||
if (mes.guild.voice.channel === channel) break;
|
||||
if (mes.guild.voice.channel === channel && mes.guild.voice.connection) break;
|
||||
}
|
||||
|
||||
channel.join()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user