mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 09:49:32 +00:00 
			
		
		
		
	Create forcestop.js
This commit is contained in:
		
							
								
								
									
										9
									
								
								commands/forcestop.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								commands/forcestop.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					module.exports = {
 | 
				
			||||||
 | 
					    name: 'stop',
 | 
				
			||||||
 | 
					    description: 'Stop command.',
 | 
				
			||||||
 | 
					    cooldown: 5,
 | 
				
			||||||
 | 
					    execute(message, args, client, Discord, prefix) {
 | 
				
			||||||
 | 
					        if (message.author.id !== '360363051792203779') return message.channel.send(':x: You are not allowed to do that!')
 | 
				
			||||||
 | 
					        client.queue.delete(guild.id);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
		Reference in New Issue
	
	Block a user