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

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'}); 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) => dispatcher.on('finish', (a, b) =>
{ {
end(a == "silent"); end(a == "silent");