From 62ac170880034878bb12c57425e488bb8d4eb180 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 68a5da4b8a..3fc271779a 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: