Fix typo
This commit is contained in:
parent
0ab2fa5b6b
commit
3604248a83
2
bot.py
2
bot.py
|
@ -534,7 +534,7 @@ def message_handling(bot, update, db):
|
||||||
reply_markup = telegram.ReplyKeyboardMarkup(custom_keyboard)
|
reply_markup = telegram.ReplyKeyboardMarkup(custom_keyboard)
|
||||||
bot.send_message(chat_id=player.CHAT_ID, text=text,
|
bot.send_message(chat_id=player.CHAT_ID, text=text,
|
||||||
reply_markup=reply_markup)
|
reply_markup=reply_markup)
|
||||||
elif text in ["delete quest", "🗑 delete ques", "dq"]:
|
elif text in ["delete quest", "🗑 delete quest", "dq"]:
|
||||||
quest = questable.get_quest(db, player.CHAT_ID, state["extra"])
|
quest = questable.get_quest(db, player.CHAT_ID, state["extra"])
|
||||||
quest.delete_from_db()
|
quest.delete_from_db()
|
||||||
drop_state(bot, update, player)
|
drop_state(bot, update, player)
|
||||||
|
|
Loading…
Reference in New Issue