From fc6900e2228182a1e2df691378aac6f7a726f0ec Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Sat, 3 Nov 2018 04:31:19 +0530 Subject: [PATCH] Back button in side quest view --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index 36a18c2..803a3fe 100644 --- a/bot.py +++ b/bot.py @@ -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)