move commandhandlers further up

This commit is contained in:
Tomáš Mládek 2019-05-28 17:39:39 +02:00
parent 903ad07e3c
commit fdfda353fc

View file

@ -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