From d942957f1465426c5d3a49aa9d759d21285dd65c Mon Sep 17 00:00:00 2001 From: Histmy Date: Sat, 2 Jan 2021 22:10:10 +0100 Subject: [PATCH] =?UTF-8?q?Fixed=20a=20"fix"=20that=20was=20actually=20a?= =?UTF-8?q?=20bug=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/vojs.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/vojs.js b/modules/vojs.js index a09b606..5022833 100644 --- a/modules/vojs.js +++ b/modules/vojs.js @@ -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]) {