[fix] fix a bug

This commit is contained in:
xtaodada 2022-02-14 13:56:40 +08:00
parent f4228568e1
commit a40285ff84
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736

View File

@ -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