1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-22 05:54:18 +00:00
This commit is contained in:
Steffo 2020-06-18 17:17:44 +02:00
parent 038b0e574d
commit d7f1c83ef6
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -1142,8 +1142,10 @@ class Worker(threading.Thread):
self.loc.get("conversation_open_help_menu"), self.loc.get("conversation_open_help_menu"),
reply_markup=telegram.ReplyKeyboardMarkup(keyboard, one_time_keyboard=True)) reply_markup=telegram.ReplyKeyboardMarkup(keyboard, one_time_keyboard=True))
# Wait for a reply from the user # Wait for a reply from the user
selection = self.__wait_for_specific_message([self.loc.get("menu_guide"), self.loc.get("menu_contact_shopkeeper"), selection = self.__wait_for_specific_message([
self.loc.get("menu_cancel")]) self.loc.get("menu_guide"),
self.loc.get("menu_contact_shopkeeper")
], cancellable=True)
# If the user has selected the Guide option... # If the user has selected the Guide option...
if selection == self.loc.get("menu_guide"): if selection == self.loc.get("menu_guide"):
# Send them the bot guide # Send them the bot guide