mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	ServiceBot: show an "End of help" line after featured command listing
This commit is contained in:
		
							parent
							
								
									d2b5fd7b6e
								
							
						
					
					
						commit
						d34ab6db8b
					
				
							
								
								
									
										1
									
								
								utils.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								utils.py
									
									
									
									
									
								
							@ -341,6 +341,7 @@ class ServiceBot():
 | 
			
		||||
                    # TODO: perhaps plugin unload should remove unused featured command
 | 
			
		||||
                    # definitions automatically?
 | 
			
		||||
                    self._show_command_help(irc, cmd, private=True, shortform=True)
 | 
			
		||||
            self.reply(irc, 'End of command listing.', private=True)
 | 
			
		||||
 | 
			
		||||
def registerService(name, *args, **kwargs):
 | 
			
		||||
    """Registers a service bot."""
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user