add Alias at priority 1 (so that it is handled first)
This commit is contained in:
		
							parent
							
								
									de3f9d9ae7
								
							
						
					
					
						commit
						b7ce4b6dcc
					
				| @ -27,6 +27,9 @@ class Alias(Module): | ||||
| 
 | ||||
|     """Alias commands as !command, circumventing bot addressing stuff.""" | ||||
| 
 | ||||
|     def priority(self): | ||||
|         return 1 | ||||
| 
 | ||||
|     def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked): | ||||
|         """See if there is an alias ("!command") in the text, and if so, translate it into | ||||
|         an internal bot command and run it. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user