mirror of
				https://github.com/reality/dbot.git
				synced 2025-11-04 11:07:28 +01:00 
			
		
		
		
	karma fix
This commit is contained in:
		
							parent
							
								
									ca14b38087
								
							
						
					
					
						commit
						90363ed707
					
				@ -3,7 +3,7 @@ var karma = function(dbot) {
 | 
			
		||||
 | 
			
		||||
    return {
 | 
			
		||||
        'listener': function(data) {
 | 
			
		||||
            if(data.user == 'aisbot' && data.channel == 'depressionbot' &&
 | 
			
		||||
            if(data.user == 'aisbot' && data.channel == 'aisbot' &&
 | 
			
		||||
                    dbot.waitingForKarma != false && data.message.match(/is at/)) {
 | 
			
		||||
                var split = data.message.split(' ');
 | 
			
		||||
                var target = split[0];
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user