From 57ad4914f86f447303c5d1d9c85667fb878146e5 Mon Sep 17 00:00:00 2001 From: FLGX Date: Sat, 18 Apr 2020 21:34:41 +0200 Subject: [PATCH] set volume to 25% by default for now before v2 woomy is released --- src/modules/functions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/functions.js b/src/modules/functions.js index 46ad1e4..eb759a1 100644 --- a/src/modules/functions.js +++ b/src/modules/functions.js @@ -280,6 +280,8 @@ module.exports = client => { { let dispatcher = client.music.getGuild(message.guild.id).dispatcher = connection.play(await ytdl("https://www.youtube.com/watch?v=" + id, {highWaterMark: 1024 * 1024 * 32}), {type: 'opus'}); + dispatcher.setVolume(0.25) + dispatcher.on('finish', (a, b) => { end(a == "silent");