Ajout du volume max
This commit is contained in:
		@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user