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 a22d6d2c2a
commit 62ac170880
1 changed files with 0 additions and 12 deletions

View File

@ -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: