Back button in side quest view

This commit is contained in:
Ceda EI 2018-11-03 04:31:19 +05:30
parent e58c01201e
commit fc6900e222
1 changed files with 4 additions and 0 deletions

4
bot.py
View File

@ -269,6 +269,10 @@ def message_handling(bot, update, db):
if text == "back":
player.set_state('none', 0)
send_status(bot, update, player)
elif state["state"] == "esq":
if text == "back":
player.set_state('none', 0)
send_status(bot, update, player)
db = sqlite3.connect("questable.db", check_same_thread=False)