Back button in side quest view
This commit is contained in:
parent
e58c01201e
commit
fc6900e222
4
bot.py
4
bot.py
|
@ -269,6 +269,10 @@ def message_handling(bot, update, db):
|
||||||
if text == "back":
|
if text == "back":
|
||||||
player.set_state('none', 0)
|
player.set_state('none', 0)
|
||||||
send_status(bot, update, player)
|
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)
|
db = sqlite3.connect("questable.db", check_same_thread=False)
|
||||||
|
|
Loading…
Reference in New Issue