move commandhandlers further up
This commit is contained in:
parent
903ad07e3c
commit
fdfda353fc
1 changed files with 1 additions and 1 deletions
|
@ -57,12 +57,12 @@ class DelojzaBot:
|
||||||
|
|
||||||
dp.add_handler(CommandHandler("start", self.tg_start))
|
dp.add_handler(CommandHandler("start", self.tg_start))
|
||||||
dp.add_error_handler(self.tg_error)
|
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("stats", self.tg_stats))
|
||||||
dp.add_handler(CommandHandler("orphans", self.tg_orphan))
|
dp.add_handler(CommandHandler("orphans", self.tg_orphan))
|
||||||
dp.add_handler(CommandHandler("orphans_full", self.tg_orphan_full))
|
dp.add_handler(CommandHandler("orphans_full", self.tg_orphan_full))
|
||||||
dp.add_handler(CommandHandler("delete", self.tg_delete))
|
dp.add_handler(CommandHandler("delete", self.tg_delete))
|
||||||
dp.add_handler(CommandHandler("version", self.tg_version))
|
dp.add_handler(CommandHandler("version", self.tg_version))
|
||||||
|
dp.add_handler(MessageHandler(None, self.tg_handle))
|
||||||
|
|
||||||
self.acoustid_key = acoustid_key
|
self.acoustid_key = acoustid_key
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue