From 38bba58c88d11e4d56ea8c02dac49f00fddb8c74 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Sat, 15 Aug 2020 22:55:23 +0200 Subject: [PATCH] Fixing stupid mistakes --- api/telegram.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/telegram.py b/api/telegram.py index cb8b24b..30f9616 100644 --- a/api/telegram.py +++ b/api/telegram.py @@ -71,6 +71,8 @@ class TelegramIO(): elif "photo" in message: print("Photo received, what do I do?") + return "nothing", "happened" + def handle_command(self, command): """Handles commands and stuff, using a bash-like syntax: @@ -91,7 +93,7 @@ class TelegramIO(): else: self.send_message("Command " + full[0] + " not found. Please try again.") - return "nothing", "happened" + return "nothing", ["happened"] def fuzzy_match_command(self, input): matches = ["not exact"]