From b40bc72ead7d4bc8897624593b89d6140472ffed Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Thu, 24 Oct 2019 21:02:44 +0300 Subject: [PATCH] Update volume.js --- commands/volume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {