default to 50% user volume

This commit is contained in:
Lukáš Horáček 2020-04-12 10:47:48 +02:00
parent b254495fd3
commit 8325891854
No known key found for this signature in database
GPG key ID: E07D6630DBC17195

View file

@ -124,7 +124,7 @@ module.exports = client => {
let v = guild.queue[0]; let v = guild.queue[0];
guild.dispatcher = connection.play(await ytdl(client.music.getLinkFromID(v.video.id.videoId)), {type: 'opus'}); guild.dispatcher = connection.play(await ytdl(client.music.getLinkFromID(v.video.id.videoId)), {type: 'opus'});
guild.dispatcher.setVolume(0.5); guild.dispatcher.setVolume(0.25);
message.reply('playing **' + v.video.snippet.title + '**'); message.reply('playing **' + v.video.snippet.title + '**');
}; };