moar coed
This commit is contained in:
		
							parent
							
								
									a9e18d9750
								
							
						
					
					
						commit
						6b03ce8f7d
					
				| 
						 | 
				
			
			@ -76,7 +76,7 @@ module.exports.run = () => {
 | 
			
		|||
            let noTimeout = (timeouts[user.id] && timeouts[user.id] < Date.now());
 | 
			
		||||
            let perms = message.channel.permissionsFor(user.id);
 | 
			
		||||
            if (!perms.has('SEND_MESSAGES') || !perms.has('ADD_REACTIONS')) {
 | 
			
		||||
                logger.warn(`${user.tag} => Ignoring reaction in ${message.channel}: User is missing permission`);
 | 
			
		||||
                logger.warn(`${user.tag} => Ignoring reaction in #${message.channel.name}: User is missing permission`);
 | 
			
		||||
                reaction.users.remove(user.id);
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue