mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-22 05:54:18 +00:00
Fixes #56
This commit is contained in:
parent
038b0e574d
commit
d7f1c83ef6
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue