Neodposlouchávej less earrapy
This commit is contained in:
parent
2e8df16ff7
commit
8ecd830259
2
app.js
2
app.js
@ -49,7 +49,7 @@ client.on('voiceStateUpdate', (bef, aft) => {
|
||||
if (!aft.channel || !aft.guild.voice || aft.member.user === client.user) return;
|
||||
if (!aft.guild.voice.connection) return;
|
||||
if (aft.mute && !aft.deaf) {
|
||||
const disp = aft.guild.voice.connection.play('./zvuky/neodposlouchavej.ogg');
|
||||
const disp = aft.guild.voice.connection.play('./zvuky/neodposlouchavej.ogg', { volume: 0.38 });
|
||||
disp.on('finish', () => aft.setDeaf(true, 'otposlouchávala ta gadza'));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user