bots: Remove unnecessary split() function from help bot.
Remove unnecessary split() function from the file contrib_bots/bots/help/help.py and replaced it with equivalent simpler string.
This commit is contained in:
		
							parent
							
								
									a09ebc3b26
								
							
						
					
					
						commit
						9f4948c685
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -12,11 +12,7 @@ class HelpHandler(object): | ||||||
|             ''' |             ''' | ||||||
| 
 | 
 | ||||||
|     def handle_message(self, message, client, state_handler): |     def handle_message(self, message, client, state_handler): | ||||||
|         help_content = ''' |         help_content = "Info on Zulip can be found here:\nhttps://github.com/zulip/zulip" | ||||||
|             Info on Zulip can be found here: |  | ||||||
|             https://github.com/zulip/zulip |  | ||||||
|             '''.strip() |  | ||||||
| 
 |  | ||||||
|         client.send_reply(message, help_content) |         client.send_reply(message, help_content) | ||||||
| 
 | 
 | ||||||
| handler_class = HelpHandler | handler_class = HelpHandler | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Abhijeet Kaur
						Abhijeet Kaur