From f6d8b14bbabf301a90efb857af6c37e0d092511b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 26 Feb 2019 22:46:32 +0100 Subject: [PATCH] Add useless aliases --- telegrambot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/telegrambot.py b/telegrambot.py index 2933f97f..90fe016e 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -828,17 +828,20 @@ def process(arg_discord_connection): u = Updater(config["Telegram"]["bot_token"]) logger.info("Registering handlers...") u.dispatcher.add_handler(CommandHandler("ping", cmd_ping)) + u.dispatcher.add_handler(CommandHandler("pong", cmd_ping)) u.dispatcher.add_handler(CommandHandler("link", cmd_link)) u.dispatcher.add_handler(CommandHandler("discord", cmd_cv)) u.dispatcher.add_handler(CommandHandler("cv", cmd_cv)) u.dispatcher.add_handler(CommandHandler("cast", cmd_cast)) u.dispatcher.add_handler(CommandHandler("color", cmd_color)) + u.dispatcher.add_handler(CommandHandler("error", cmd_color)) u.dispatcher.add_handler(CommandHandler("smecds", cmd_smecds)) u.dispatcher.add_handler(CommandHandler("ciaoruozi", cmd_ciaoruozi)) u.dispatcher.add_handler(CommandHandler("ahnonlosoio", cmd_ahnonlosoio)) u.dispatcher.add_handler(CommandHandler("balurage", cmd_balurage)) u.dispatcher.add_handler(CommandHandler("diario", cmd_diario)) u.dispatcher.add_handler(CommandHandler("spaggia", cmd_diario)) + u.dispatcher.add_handler(CommandHandler("spaggio", cmd_diario)) u.dispatcher.add_handler(CommandHandler("vote", cmd_vote)) u.dispatcher.add_handler(CommandHandler("eat", cmd_eat)) u.dispatcher.add_handler(CommandHandler("ship", cmd_ship)) @@ -857,6 +860,8 @@ def process(arg_discord_connection): u.dispatcher.add_handler(CommandHandler("spell", cmd_spell)) u.dispatcher.add_handler(CommandHandler("emojify", cmd_emojify)) u.dispatcher.add_handler(CommandHandler("pug", cmd_pug)) + u.dispatcher.add_handler(CommandHandler("carlino", cmd_pug)) + u.dispatcher.add_handler(CommandHandler("carlini", cmd_pug)) u.dispatcher.add_handler(CallbackQueryHandler(on_callback_query)) logger.info("Handlers registered.") u.start_polling()