From 915d98aa6878a9248f7a6d8141389e24af8c2f4a Mon Sep 17 00:00:00 2001 From: neiljp Date: Tue, 23 May 2017 17:58:45 -0700 Subject: [PATCH] contrib_bots: Remove triage_message() from help bot. This completes removing triage_message from the tree. --- contrib_bots/bots/help/help.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/contrib_bots/bots/help/help.py b/contrib_bots/bots/help/help.py index 68a5da4..3fc2717 100644 --- a/contrib_bots/bots/help/help.py +++ b/contrib_bots/bots/help/help.py @@ -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: