Fix function call
This commit is contained in:
parent
cfa2404bbb
commit
891eaf1627
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -13,7 +13,7 @@ def auth(bot, update):
|
||||||
bot.sendMessage(chat_id=update.message.chat_id, text="Ooops. Not implemented yet.")
|
bot.sendMessage(chat_id=update.message.chat_id, text="Ooops. Not implemented yet.")
|
||||||
|
|
||||||
def unauth(bot, update):
|
def unauth(bot, update):
|
||||||
dbtools.deleteUser(update.message.chat_id)
|
dbtools.dbHelper().deleteUser(update.message.chat_id)
|
||||||
bot.sendMessage(chat_id=update.message.chat_id, text=strings.unauth % setuptools.url())
|
bot.sendMessage(chat_id=update.message.chat_id, text=strings.unauth % setuptools.url())
|
||||||
|
|
||||||
updater.dispatcher.add_handler(telegram.ext.CommandHandler("start", start))
|
updater.dispatcher.add_handler(telegram.ext.CommandHandler("start", start))
|
||||||
|
|
Loading…
Reference in a new issue