bots: Remove redundant newlines for giphy bot.
This commit is contained in:
parent
ef7077efdb
commit
47ba08ff5c
|
@ -80,7 +80,6 @@ class YodaSpeakHandler(object):
|
|||
' Did you follow the instructions in the `readme.md` file?'
|
||||
return error_message
|
||||
|
||||
|
||||
def format_input(self, original_content):
|
||||
# gets rid of whitespace around the edges, so that they aren't a problem in the future
|
||||
message_content = original_content.strip()
|
||||
|
@ -88,7 +87,6 @@ class YodaSpeakHandler(object):
|
|||
sentence = message_content.replace(' ', '+')
|
||||
return sentence
|
||||
|
||||
|
||||
def handle_input(self, message, bot_handler):
|
||||
|
||||
original_content = message['content']
|
||||
|
@ -124,7 +122,6 @@ class YodaSpeakHandler(object):
|
|||
content=message
|
||||
))
|
||||
|
||||
|
||||
def is_help(self, original_content):
|
||||
# gets rid of whitespace around the edges, so that they aren't a problem in the future
|
||||
message_content = original_content.strip()
|
||||
|
|
Loading…
Reference in a new issue