Fixed a "fix" that was actually a bug 😅

This commit is contained in:
Histmy 2021-01-02 22:10:10 +01:00
parent 2283010ee3
commit d942957f14

View File

@ -71,14 +71,13 @@ module.exports = (mes, komand, celArgs) => {
mes.channel.send(`di si tam sam ne ty gadzo ${mes.author}`);
break;
}
if (mes.guild.voice) {
if (mes.guild.voice.channel === channel) {
mes.channel.send(`vsak uz tam sem ne ty gadzo ${mes.author}`);
break;
}
}
if (celArgs !== 'potichu') mes.channel.send('<@&591306633196339261> vojs');
if (mes.guild.voice) {
if (mes.guild.voice.channel === channel) break;
}
channel.join()
.then(con => {
if (!timeouty[mes.guild.id]) {