From 35addd6d85039e7772b30440155fdba6ed5c507a Mon Sep 17 00:00:00 2001 From: Ian Andwati Date: Thu, 16 Feb 2023 18:41:37 +0300 Subject: [PATCH] bug fixes --- src/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.py b/src/bot.py index 886e143..bd6da2d 100644 --- a/src/bot.py +++ b/src/bot.py @@ -26,7 +26,7 @@ def send_welcome(message): """ handle triggered by the /start command """ - bot.reply_to(message, f"hi there {message.from_user}") + bot.reply_to(message, f"hi there {message.from_user.first_name}") @bot.message_handler(commands=["random"])