fix: remove dead .answer attr on Message in start_handler
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user