Bug fixes & update (v5.0.0)

This commit is contained in:
Zerio
2020-12-27 01:18:00 +01:00
parent 3221ffece1
commit 887ed4dfbb
10 changed files with 49 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ module.exports = {
if (Math.round(parseInt(args[0])) < 1 || Math.round(parseInt(args[0])) > 100) return message.channel.send(`${client.emotes.error} - Please enter a valid number (between 1 and 100) !`);
client.player.setVolume(message, args[0]);
client.player.setVolume(message, parseInt(args[0]));
message.channel.send(`${client.emotes.success} - Volume set to **${parseInt(args[0])}%** !`);
},