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:
Abhijeet Kaur 2017-05-28 03:24:44 +05:30 committed by Tim Abbott
parent a09ebc3b26
commit 9f4948c685

View file

@ -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