Updated vojs.js
This commit is contained in:
parent
fee44d6187
commit
ce9c5feb5a
@ -45,7 +45,7 @@ function nula(a) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const vytahnout = (clen, patro) => {
|
const vytahnout = (clen, patro) => {
|
||||||
const vojs = clen.voice.channel
|
const vojs = clen.voice.channel;
|
||||||
if (!vojs) return;
|
if (!vojs) return;
|
||||||
|
|
||||||
const aktPatro = Number(vojs.name) || 0;
|
const aktPatro = Number(vojs.name) || 0;
|
||||||
@ -115,7 +115,7 @@ module.exports = {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
vojs.channel.leave();
|
vojs.channel.leave();
|
||||||
mes.react('purfieRIP:644609482843881483');
|
mes.react('855120055632134155');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'vitah':
|
case 'vitah':
|
||||||
@ -148,7 +148,7 @@ module.exports = {
|
|||||||
|
|
||||||
if (aft.selfMute && !aft.deaf) {
|
if (aft.selfMute && !aft.deaf) {
|
||||||
aft.guild.voice.connection.play('./zvuky/neodposlouchavej.ogg', { volume: 0.38 })
|
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;
|
if (!bef.channel) return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user