mirror of
				https://github.com/reality/dbot.git
				synced 2025-11-04 11:47:34 +01:00 
			
		
		
		
	modehate message
This commit is contained in:
		
							parent
							
								
									32e2c9434c
								
							
						
					
					
						commit
						b2c4793ad8
					
				@ -3,6 +3,7 @@ var modehate = function(dbot) {
 | 
			
		||||
 | 
			
		||||
    return {
 | 
			
		||||
        'listener': function(data) {
 | 
			
		||||
            console.log('caught modehate');
 | 
			
		||||
            if(dbot.db.modehate.include(data.user)) {
 | 
			
		||||
                dbot.instance.send('KICK', data.channel, data.user, 'gtfo');
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user