bot now actually joins voice after crashing

This commit is contained in:
Histmy 2021-01-12 11:17:30 +01:00
parent 9a86fe7ee8
commit 1b83490f18

View File

@ -75,7 +75,7 @@ module.exports = (mes, komand, celArgs) => {
if (celArgs !== 'potichu') mes.channel.send('<@&591306633196339261> vojs'); if (celArgs !== 'potichu') mes.channel.send('<@&591306633196339261> vojs');
if (mes.guild.voice) { if (mes.guild.voice) {
if (mes.guild.voice.channel === channel) break; if (mes.guild.voice.channel === channel && mes.guild.voice.connection) break;
} }
channel.join() channel.join()