music
This commit is contained in:
		
							parent
							
								
									019b8a03e4
								
							
						
					
					
						commit
						1b013581de
					
				
					 3 changed files with 120 additions and 3 deletions
				
			
		
							
								
								
									
										20
									
								
								commands/play.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								commands/play.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
exports.conf = {
 | 
			
		||||
  enabled: true,
 | 
			
		||||
  guildOnly: false,
 | 
			
		||||
  aliases: [],
 | 
			
		||||
  permLevel: 'User',
 | 
			
		||||
  requiredPerms: [],
 | 
			
		||||
  cooldown: 2000
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.help = {
 | 
			
		||||
  name: 'play',
 | 
			
		||||
  category: 'Music',
 | 
			
		||||
  description: 'Plays or adds to queue requested music.',
 | 
			
		||||
  usage: 'play [query]',
 | 
			
		||||
  params: '[query] - A query to find video by or a link to the video.'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.run = async (client, message, args, level, data) => {
 | 
			
		||||
    client.music.play(message, args[0]);
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue