contrib_bots: Remove triage_message() from help bot.

This completes removing triage_message from the tree.
This commit is contained in:
neiljp 2017-05-23 17:58:45 -07:00 committed by Tim Abbott
parent ec0de2a7ff
commit 915d98aa68

View file

@ -11,18 +11,6 @@ class HelpHandler(object):
your Zulip instance. 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): def handle_message(self, message, client, state_handler):
help_content = ''' help_content = '''
Info on Zulip can be found here: Info on Zulip can be found here: