From fdfda353fcdf204846e25281be2ba66548581b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Tue, 28 May 2019 17:39:39 +0200 Subject: [PATCH] move commandhandlers further up --- delojza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delojza.py b/delojza.py index 43f28f9..ffd5d0d 100755 --- a/delojza.py +++ b/delojza.py @@ -57,12 +57,12 @@ class DelojzaBot: dp.add_handler(CommandHandler("start", self.tg_start)) dp.add_error_handler(self.tg_error) - dp.add_handler(MessageHandler(None, self.tg_handle)) dp.add_handler(CommandHandler("stats", self.tg_stats)) dp.add_handler(CommandHandler("orphans", self.tg_orphan)) dp.add_handler(CommandHandler("orphans_full", self.tg_orphan_full)) dp.add_handler(CommandHandler("delete", self.tg_delete)) dp.add_handler(CommandHandler("version", self.tg_version)) + dp.add_handler(MessageHandler(None, self.tg_handle)) self.acoustid_key = acoustid_key