Updated vojs.js
This commit is contained in:
parent
fee44d6187
commit
ce9c5feb5a
@ -22,7 +22,7 @@ function vypocitatCas(vojsl) {
|
||||
d.setMinutes(min);
|
||||
d.setSeconds(0);
|
||||
|
||||
timeouty[vojsl.channel.guild.id] = setTimeout(function() {
|
||||
timeouty[vojsl.channel.guild.id] = setTimeout(function () {
|
||||
rekniCas(vojsl, `${nula(hod)}${nula(min)}`);
|
||||
}, d - c + 3000);
|
||||
}
|
||||
@ -45,7 +45,7 @@ function nula(a) {
|
||||
}
|
||||
|
||||
const vytahnout = (clen, patro) => {
|
||||
const vojs = clen.voice.channel
|
||||
const vojs = clen.voice.channel;
|
||||
if (!vojs) return;
|
||||
|
||||
const aktPatro = Number(vojs.name) || 0;
|
||||
@ -115,7 +115,7 @@ module.exports = {
|
||||
break;
|
||||
}
|
||||
vojs.channel.leave();
|
||||
mes.react('purfieRIP:644609482843881483');
|
||||
mes.react('855120055632134155');
|
||||
break;
|
||||
|
||||
case 'vitah':
|
||||
@ -148,7 +148,7 @@ module.exports = {
|
||||
|
||||
if (aft.selfMute && !aft.deaf) {
|
||||
aft.guild.voice.connection.play('./zvuky/neodposlouchavej.ogg', { volume: 0.38 })
|
||||
.on('finish', () => { if (aft.selfMute) aft.setDeaf(true, 'otposlouchávala ta gadza') });
|
||||
.on('finish', () => { if (aft.selfMute) aft.setDeaf(true, 'otposlouchávala ta gadza'); });
|
||||
}
|
||||
|
||||
if (!bef.channel) return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user