(WIP) fredboat style selection menu for music
This commit is contained in:
		
							parent
							
								
									b36a746bb4
								
							
						
					
					
						commit
						dad836e630
					
				
					 3 changed files with 48 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@ exports.conf = {
 | 
			
		|||
  enabled: true,
 | 
			
		||||
  guildOnly: true,
 | 
			
		||||
  aliases: [],
 | 
			
		||||
  permLevel: 'Moderator',
 | 
			
		||||
  permLevel: 'User',
 | 
			
		||||
  requiredPerms: [],
 | 
			
		||||
  cooldown: 2000
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,6 +15,6 @@ exports.help = {
 | 
			
		|||
  parameters: '[query] - A query to find video by or a link to the video.'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.run = async (client, message, [...args], level, data) => {
 | 
			
		||||
  await client.music.play(message, args)
 | 
			
		||||
exports.run = async (client, message, args, level, data) => {
 | 
			
		||||
  await client.music.play(message, args.join(' '))
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue