mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 06:49:31 +00:00 
			
		
		
		
	Update queue.js
This commit is contained in:
		@@ -7,7 +7,6 @@ module.exports = {
 | 
				
			|||||||
	async execute(message, args, client, Discord, prefix) {
 | 
						async execute(message, args, client, Discord, prefix) {
 | 
				
			||||||
		const serverQueue = client.queue.get(message.guild.id);
 | 
							const serverQueue = client.queue.get(message.guild.id);
 | 
				
			||||||
		if (!serverQueue) return message.channel.send(':x: There is nothing playing.');
 | 
							if (!serverQueue) return message.channel.send(':x: There is nothing playing.');
 | 
				
			||||||
		if (!serverQueue.playing) return message.channel.send(':x: There is nothing playing.');
 | 
					 | 
				
			||||||
		if (args[1]) {
 | 
							if (args[1]) {
 | 
				
			||||||
			if (isNaN(args[1])) return msg.channel.send(':x: I\'m sorry, But you need to enter a valid __number__.');
 | 
								if (isNaN(args[1])) return msg.channel.send(':x: I\'m sorry, But you need to enter a valid __number__.');
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user