From 6c9975182771d23a8ec7aa7bf7a074213e46f32c Mon Sep 17 00:00:00 2001 From: shokollm <270575765+shokollm@users.noreply.github.com> Date: Sun, 5 Apr 2026 01:49:58 +0000 Subject: [PATCH] fix: remove catch-all handler for unknown commands Unknown commands like /asdasda no longer show help. Only known commands (with explicit handlers) respond. --- apps/telegram-bot/bot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/telegram-bot/bot.py b/apps/telegram-bot/bot.py index 835ce37..dd4445a 100644 --- a/apps/telegram-bot/bot.py +++ b/apps/telegram-bot/bot.py @@ -67,8 +67,6 @@ def build_app() -> Application: app.add_handler(CallbackQueryHandler(cmd_delete_message)) - app.add_handler(MessageHandler(filters.COMMAND, cmd_help)) - app.add_error_handler(error_handler) return app