From 8ecd830259139d898b9da2cc5a68c926d333d4cf Mon Sep 17 00:00:00 2001 From: Histmy Date: Tue, 9 Feb 2021 00:30:18 +0100 Subject: [PATCH] =?UTF-8?q?Neodposlouch=C3=A1vej=20less=20earrapy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 4f4b6e9..4a9b8c6 100644 --- a/app.js +++ b/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')); }