From cfa2404bbb8cdce5f41fd927c1ef170d1c97ffbf Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 8 Feb 2017 13:08:09 +0100 Subject: [PATCH] Add unauth handler --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index 1b2c966..eeeee10 100755 --- a/bot.py +++ b/bot.py @@ -18,6 +18,7 @@ def unauth(bot, update): updater.dispatcher.add_handler(telegram.ext.CommandHandler("start", start)) updater.dispatcher.add_handler(telegram.ext.CommandHandler("auth", auth)) +updater.dispatcher.add_handler(telegram.ext.CommandHandler("unauth", unauth)) try: updater.start_polling()