contrib_bots: Remove triage_message() from help bot.
This completes removing triage_message from the tree.
This commit is contained in:
parent
ec0de2a7ff
commit
915d98aa68
|
@ -11,18 +11,6 @@ class HelpHandler(object):
|
|||
your Zulip instance.
|
||||
'''
|
||||
|
||||
def triage_message(self, message, client):
|
||||
# return True if we think the message may be of interest
|
||||
original_content = message['content']
|
||||
|
||||
if message['type'] != 'stream':
|
||||
return True
|
||||
|
||||
if original_content.lower().strip() != 'help':
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
def handle_message(self, message, client, state_handler):
|
||||
help_content = '''
|
||||
Info on Zulip can be found here:
|
||||
|
|
Loading…
Reference in a new issue