forked from embee/woomy
		
	adfghjfx
This commit is contained in:
		
							parent
							
								
									1f267e1cfb
								
							
						
					
					
						commit
						02e570eb00
					
				
					 9 changed files with 773 additions and 212 deletions
				
			
		| 
						 | 
				
			
			@ -32,7 +32,7 @@ module.exports = async (client, message) => {
 | 
			
		|||
 | 
			
		||||
  // Dev perm level is separate so dev's don't get owner perms where they shouldn't have them
 | 
			
		||||
  if (cmd.conf.permLevel === 'Developer') {
 | 
			
		||||
    if (!message.client.config.owners.includes(message.author.id)) {
 | 
			
		||||
    if (!client.config.devs.includes(message.author.id)) {
 | 
			
		||||
      return message.channel.send('You don\'t have permission to run this command!')
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue