From 1c56e9f14b3ab73edc276b4115cc7716ed4953ab Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 29 Jan 2019 13:45:11 +0100 Subject: [PATCH] Add some more cerca aliases --- telegrambot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telegrambot.py b/telegrambot.py index b0157295..1921433a 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -746,6 +746,8 @@ def process(arg_discord_connection): u.dispatcher.add_handler(CommandHandler("mm", cmd_mm)) u.dispatcher.add_handler(CommandHandler("matchmaking", cmd_mm)) u.dispatcher.add_handler(CommandHandler("cerca", cmd_cerca)) + u.dispatcher.add_handler(CommandHandler("search", cmd_cerca)) + u.dispatcher.add_handler(CommandHandler("diariosearch", cmd_cerca)) u.dispatcher.add_handler(CallbackQueryHandler(on_callback_query)) logger.info("Handlers registered.") u.start_polling()