diff --git a/commands/volume.js b/commands/volume.js index bae98d93..a2c1f80c 100644 --- a/commands/volume.js +++ b/commands/volume.js @@ -9,7 +9,7 @@ module.exports = { if (message.author.id === '384002606621655040') return message.channel.send('You are not doying that!'); if (!serverQueue) return message.channel.send(':x: There is nothing playing.'); if (!args[1]) return message.channel.send(`:loud_sound: The current volume is: **${serverQueue.volume}**`); - const volume = parseInt(args[1]) + const volume = parseFloat(args[1]); if (message.author.id !== '360363051792203779') { if (!voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in a voice channel to change the volume!'); if (client.global.db.guilds[message.guild.id].permissions === true) {