mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
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
afbaa30e4b
commit
707cc6ec2c
@ -12,11 +12,7 @@ class HelpHandler(object):
|
||||
'''
|
||||
|
||||
def handle_message(self, message, client, state_handler):
|
||||
help_content = '''
|
||||
Info on Zulip can be found here:
|
||||
https://github.com/zulip/zulip
|
||||
'''.strip()
|
||||
|
||||
help_content = "Info on Zulip can be found here:\nhttps://github.com/zulip/zulip"
|
||||
client.send_reply(message, help_content)
|
||||
|
||||
handler_class = HelpHandler
|
||||
|
||||
Loading…
Reference in New Issue
Block a user