set volume to 25% by default for now before v2 woomy is released

This commit is contained in:
FLGX 2020-04-18 21:34:41 +02:00 committed by GitHub
parent 0662be72d1
commit 57ad4914f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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");