mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	service_support: add description for main PyLink bot
This commit is contained in:
		
							parent
							
								
									b2b4f33fe8
								
							
						
					
					
						commit
						1637193a53
					
				@ -110,4 +110,9 @@ utils.add_hook(handle_commands, 'PRIVMSG')
 | 
			
		||||
# Register the main PyLink service. All command definitions MUST go after this!
 | 
			
		||||
mynick = conf.conf['bot'].get("nick", "PyLink")
 | 
			
		||||
myident = conf.conf['bot'].get("ident", "pylink")
 | 
			
		||||
utils.registerService('pylink', nick=mynick, ident=myident, manipulatable=True)
 | 
			
		||||
 | 
			
		||||
# TODO: be more specific, and possibly allow plugins to modify this to mention
 | 
			
		||||
# their features?
 | 
			
		||||
mydesc = "\x02%s\x02 provides extended network services for IRC." % mynick
 | 
			
		||||
 | 
			
		||||
utils.registerService('pylink', nick=mynick, ident=myident, desc=mydesc, manipulatable=True)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user