bots: Fix help bot replies in private chat, including 3+ users.
Also deduplicates the code.
This commit is contained in:
parent
9604ffca38
commit
0606d7acad
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue