1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 06:43:17 +00:00

Update volume.js

This commit is contained in:
MatteZ02 2020-06-08 15:41:52 +03:00
parent b70c0dc631
commit f2d6a6b09c

View File

@ -16,7 +16,7 @@ module.exports = {
if (volume > 100) return msg.channel.send(client.messages.maxVolume); if (volume > 100) return msg.channel.send(client.messages.maxVolume);
if (volume < 0) return msg.channel.send(client.messages.positiveVolume); if (volume < 0) return msg.channel.send(client.messages.positiveVolume);
queue.volume = volume; queue.volume = volume;
queue.connection.dispatcher.setVolume(volume / 5); queue.connection.dispatcher.setVolume(volume / 100);
return msg.channel.send(`${client.messages.setVolume}**${volume}**`); return msg.channel.send(`${client.messages.setVolume}**${volume}**`);
} }
} }