forked from GitHub/dbot
		
	autoquietwarn
This commit is contained in:
		
							parent
							
								
									9530bead9c
								
							
						
					
					
						commit
						4aed770b7e
					
				| @ -56,6 +56,12 @@ var commands = function(dbot) { | ||||
|                     } | ||||
| 
 | ||||
|                     this.api.quiet(server, host, channel); | ||||
| 
 | ||||
|                     if(reason !== "N/A") { | ||||
|                         dbot.api.warning.warn(server, event.rUser, quietee,  | ||||
|                             'Quieted in ' + channel + ' for ' + reason, channel, | ||||
|                             function() {}); | ||||
|                     } | ||||
|                 } else { | ||||
|                     event.reply(dbot.t('no_user', { 'user': quietee })); | ||||
|                 } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 reality
						reality