Fixing stupid mistakes

This commit is contained in:
Remy Moll 2020-08-15 22:55:23 +02:00
parent f57b2cbd0f
commit 38bba58c88

View File

@ -71,6 +71,8 @@ class TelegramIO():
elif "photo" in message: elif "photo" in message:
print("Photo received, what do I do?") print("Photo received, what do I do?")
return "nothing", "happened"
def handle_command(self, command): def handle_command(self, command):
"""Handles commands and stuff, using a bash-like syntax: """Handles commands and stuff, using a bash-like syntax:
@ -91,7 +93,7 @@ class TelegramIO():
else: else:
self.send_message("Command <code>" + full[0] + "</code> not found. Please try again.") self.send_message("Command <code>" + full[0] + "</code> not found. Please try again.")
return "nothing", "happened" return "nothing", ["happened"]
def fuzzy_match_command(self, input): def fuzzy_match_command(self, input):
matches = ["not exact"] matches = ["not exact"]