idk lol
This commit is contained in:
		
							parent
							
								
									e7a22c443e
								
							
						
					
					
						commit
						43aa62f870
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -81,9 +81,9 @@ class MessageHandler {
 | 
			
		|||
        );
 | 
			
		||||
        
 | 
			
		||||
        // Return if the command is restricted to developers (and the user is not a developer)
 | 
			
		||||
        if (command.devOnly === true && this.client.functions.isDeveloper(message.author.id) !== true) {
 | 
			
		||||
        if (command.devOnly === true && this.client.functions.isDeveloper(message.author.id) === true) {
 | 
			
		||||
            return message.channel.createMessage(
 | 
			
		||||
                this.client.constants.emojis.permError + ' This command\'s usage is restricted to developers only. Sorry!'
 | 
			
		||||
                `${this.client.constants.emojis.permError} ${message.author.username} is not in the sudoers file. This incident will be reported.`
 | 
			
		||||
            );
 | 
			
		||||
        } 
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue