Remove superfluous comment in triage_message().
MODIFY
contrib_bots/lib/commute_bot.py
contrib_bots/lib/commute_bot.py
@@ -76,7 +76,6 @@ class CommuteHandler(object):
'''
def triage_message(self, message, client):
- # return True iff we want to (possibly) response to this message
original_content = message['content']
# This next line of code is defensive, as we
# never want to get into an infinite loop of posting follow

MODIFY
contrib_bots/lib/define_bot.py
contrib_bots/lib/define_bot.py
@@ -22,7 +22,6 @@ class DefineHandler(object):
'''
def triage_message(DefineHandler, message, client):
- # return True if we want to (possibly) response to this message
original_content = message['content']
# This next line of code is defensive, as we
# never want to get into an infinite loop of posting follow

MODIFY
contrib_bots/lib/followup.py
contrib_bots/lib/followup.py
@@ -23,8 +23,6 @@ class FollowupHandler(object):
'''
def triage_message(self, message, client):
- # return True iff we want to (possibly) response to this message
-
original_content = message['content']
# This next line of code is defensive, as we

MODIFY
contrib_bots/lib/giphy.py
contrib_bots/lib/giphy.py
@@ -39,7 +39,6 @@ class GiphyHandler(object):
if message['type'] == 'private':
return client.full_name != message['sender_full_name']
- # Return True if we want to (possibly) response to this message.
original_content = message['content']
is_giphy_called = (original_content.startswith('@giphy ') or
message['is_mentioned'])

MODIFY
contrib_bots/lib/git_hub_comment.py
contrib_bots/lib/git_hub_comment.py
@@ -40,8 +40,6 @@ class GitHubHandler(object):
'''
def triage_message(self, message, client):
- # return True iff we want to (possibly) response to this message
-
original_content = message['content']
is_comment = (original_content.startswith('@comment') or

MODIFY
contrib_bots/lib/github_issues.py
contrib_bots/lib/github_issues.py
@@ -46,7 +46,6 @@ class IssueHandler(object):
'''
def triage_message(self, message, client):
- # return True if we want to (possibly) respond to this message
original_content = message['content']
# This next line of code is defensive, as we
# never want to get into an infinite loop of posting follow

MODIFY
contrib_bots/lib/john.py
contrib_bots/lib/john.py
@@ -114,7 +114,6 @@ class JohnHandler(object):
'''
def triage_message(self, message, client):
- # return True if we want to (possibly) response to this message
original_content = message['content'].lower()
return (original_content.startswith("@john") or
original_content.startswith("@**john**"))

MODIFY
contrib_bots/lib/thesaurus.py
contrib_bots/lib/thesaurus.py
@@ -59,8 +59,6 @@ class ThesaurusHandler(object):
'''
def triage_message(self, message, client):
- # return True if we want to (possibly) respond to this message
-
original_content = message['content']
is_thesaurus = (original_content.startswith('@synonym') or

MODIFY
contrib_bots/lib/tictactoe-bot.py
contrib_bots/lib/tictactoe-bot.py
@@ -275,7 +275,6 @@ class ticTacToeHandler(object):
'''
def triage_message(self, message, client):
- # return True if we want to (possibly) response to this message
original_content = message['content']
is_tictactoe = (original_content.startswith('@tictactoe') or
original_content.startswith('@ttt'))

MODIFY
contrib_bots/lib/virtual_fs.py
contrib_bots/lib/virtual_fs.py
@@ -8,7 +8,6 @@ class VirtualFsHandler(object):
return get_help()
def triage_message(self, message, client):
- # return True iff we want to (possibly) response to this message
if message['type'] != 'stream':
return False

MODIFY
contrib_bots/lib/wikipedia.py
contrib_bots/lib/wikipedia.py
@@ -28,8 +28,6 @@ class WikipediaHandler(object):
'''
def triage_message(self, message, client):
- # return True iff we want to (possibly) response to this message
-
original_content = message['content']
# This next line of code is defensive, as we

MODIFY
contrib_bots/lib/xkcd.py
contrib_bots/lib/xkcd.py
@@ -28,7 +28,6 @@ class XkcdHandler(object):
'''
def triage_message(self, message, client):
- # Return True if we want to (possibly) response to this message
original_content = message['content']
is_xkcd_called = original_content.startswith('@xkcd ')
is_xkcd_called_without_command = original_content == '@xkcd'

MODIFY
contrib_bots/lib/yoda_bot.py
contrib_bots/lib/yoda_bot.py
@@ -64,8 +64,6 @@ class YodaSpeakHandler(object):
'''
def triage_message(self, message):
- # return True iff we want to (possibly) response to this message
-
original_content = message['content']
return original_content.startswith('@yoda')

Remove superfluous comment in triage_message(). (#3291)