1
0
mirror of https://gitlab.com/questable/questable_bot synced 2025-04-03 13:56:52 +02:00

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

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)