From 72c2ddc22f014ffd54cc0bf5e25176ff495a7678 Mon Sep 17 00:00:00 2001 From: Jose Lago Date: Wed, 17 Jun 2026 12:10:58 +0200 Subject: [PATCH] fix: remove dead .answer attr on Message in start_handler --- worker/src/bot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/worker/src/bot.py b/worker/src/bot.py index ab74b5d..d9fdd5a 100644 --- a/worker/src/bot.py +++ b/worker/src/bot.py @@ -246,7 +246,6 @@ async def start_handler(update: Update, context: ContextTypes.DEFAULT_TYPE) -> N return name = update.effective_user.first_name or "there" - msg = (update.message or update.callback_query).answer # type: ignore[union-attr] chat_id = update.effective_chat.id # type: ignore[union-attr] await context.bot.send_message( chat_id=chat_id,