Add unauth handler

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-08 13:08:09 +01:00
parent 1900d516a9
commit cfa2404bbb

1
bot.py
View file

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