diff --git a/commands/music/volume.js b/commands/music/volume.js index 928425e..95b0532 100644 --- a/commands/music/volume.js +++ b/commands/music/volume.js @@ -17,9 +17,10 @@ module.exports = { if (queue.volume === vol) return message.channel.send(`The volume you want to change is already the current one ${message.author}... try again ? ❌`); - //:if (vol < 0 || vol > maxVol) return message.channel.send(`The specified number is not valid. Enter a number between **1** and **${maxVol}** ${message.author}... try again ? ❌`); - if (vol === "666") return message.channel.send('Welcome to the Hell ... but no ...'); + + if (vol < 0 || vol > maxVol) return message.channel.send(`The specified number is not valid. Enter a number between **1** and **${maxVol}** ${message.author}... try again ? ❌`); + const success = queue.setVolume(vol);