Skip to content

Commit

Permalink
Updated keyboard menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias committed Nov 30, 2019
1 parent a0d6cf9 commit 6845b81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/medicina_bot/handlers/commands_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def load_command_handlers(dispatcher):
dispatcher.add_handler(CommandHandler("prof", prof_cmd_handler, pass_args=True))
dispatcher.add_handler(CommandHandler("report", report_cmd_handler, pass_args=True))
dispatcher.add_handler(MessageHandler(Filters.regex('❔ Help'), help_cmd_handler))
dispatcher.add_handler(MessageHandler(Filters.regex('👨‍🏫 Info Prof'), showprof_cmd_handler))
dispatcher.add_handler(MessageHandler(Filters.regex('📬 Invia una segnalazione'), showprof_cmd_handler))
# dispatcher.add_handler(MessageHandler(Filters.regex('👨‍🏫 Info Prof'), showprof_cmd_handler))
# dispatcher.add_handler(MessageHandler(Filters.regex('📬 Invia una segnalazione'), showprof_cmd_handler))
4 changes: 2 additions & 2 deletions modules/medicina_bot/utils/keyboard_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
def printMenu(update: Update, context: CallbackContext, message):
kb = [
[
KeyboardButton('👨‍🏫 Info Prof'),
# KeyboardButton('👨‍🏫 Info Prof'),
KeyboardButton('❔ Help')
],
[ KeyboardButton('📬 Invia una segnalazione') ]
# [ KeyboardButton('📬 Invia una segnalazione') ]
]
kb_markup = ReplyKeyboardMarkup(kb, resize_keyboard=True)

Expand Down

0 comments on commit 6845b81

Please sign in to comment.