forked from embee/woomy
make 50% volume of video max/default
This commit is contained in:
parent
aedce9fc34
commit
b254495fd3
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ exports.run = async (client, message, args, level, data) => {
|
|||
if(vol) {
|
||||
vol = Number(vol);
|
||||
|
||||
vol = vol / 100 * 0.25;
|
||||
vol = vol / 100 * 0.5;
|
||||
|
||||
if(vol <= 1) {
|
||||
client.music.setVolume(message.guild, vol);
|
||||
|
|
|
@ -124,7 +124,7 @@ module.exports = client => {
|
|||
let v = guild.queue[0];
|
||||
|
||||
guild.dispatcher = connection.play(await ytdl(client.music.getLinkFromID(v.video.id.videoId)), {type: 'opus'});
|
||||
guild.dispatcher.setVolume(0.25);
|
||||
guild.dispatcher.setVolume(0.5);
|
||||
|
||||
message.reply('playing **' + v.video.snippet.title + '**');
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue