From a40285ff844be506befb20a5f900ff54afa168cf Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 14 Feb 2022 13:56:40 +0800 Subject: [PATCH] [fix] fix a bug --- program/callback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/callback.py b/program/callback.py index b9bffbb..a6aceed 100644 --- a/program/callback.py +++ b/program/callback.py @@ -21,7 +21,7 @@ from config import ( @Client.on_callback_query(filters.regex("home_start")) @check_blacklist() async def start_set(_, query: CallbackQuery): - BOT_NAME = me["result"]["first_name"] + BOT_NAME = me["first_name"] await query.answer("home start") await query.edit_message_text( f"""✨ **Welcome [{query.message.chat.first_name}](tg://user?id={query.message.chat.id}) !**\n