1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +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 < 0) return msg.channel.send(client.messages.positiveVolume);
queue.volume = volume;
queue.connection.dispatcher.setVolume(volume / 5);
queue.connection.dispatcher.setVolume(volume / 100);
return msg.channel.send(`${client.messages.setVolume}**${volume}**`);
}
}