bots: Fix help bot replies in private chat, including 3+ users.

Also deduplicates the code.
This commit is contained in:
neiljp 2017-05-22 17:43:29 -07:00 committed by Tim Abbott
parent 9604ffca38
commit 0606d7acad

View file

@ -29,11 +29,6 @@ class HelpHandler(object):
https://github.com/zulip/zulip https://github.com/zulip/zulip
'''.strip() '''.strip()
client.send_message(dict( client.send_reply(message, help_content)
type='stream',
to=message['display_recipient'],
subject=message['subject'],
content=help_content,
))
handler_class = HelpHandler handler_class = HelpHandler