mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	ServiceBot: sort featured commands list
This commit is contained in:
		
							parent
							
								
									e730909a46
								
							
						
					
					
						commit
						0922f7cefc
					
				
							
								
								
									
										2
									
								
								utils.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								utils.py
									
									
									
									
									
								
							@ -317,7 +317,7 @@ class ServiceBot():
 | 
			
		||||
        if self.featured_cmds:
 | 
			
		||||
            self.reply(irc, " ")
 | 
			
		||||
            self.reply(irc, 'Featured commands include:')
 | 
			
		||||
            for cmd in self.featured_cmds:
 | 
			
		||||
            for cmd in sorted(self.featured_cmds):
 | 
			
		||||
                if self.commands.get(cmd):
 | 
			
		||||
                    # Only show featured commands that are both defined and loaded.
 | 
			
		||||
                    # TODO: perhaps plugin unload should remove unused featured command
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user