Skip to content

Commit ef2bbdf

Browse files
authored
Added more fillings in Start Message
1 parent b07b789 commit ef2bbdf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

plugins/start.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,13 @@ async def start_command(client: Client, message: Message):
6767
]
6868
)
6969
await message.reply_text(
70-
text = START_MSG.format(firstname = message.chat.first_name),
70+
text = START_MSG.format(
71+
first = message.chat.first_name,
72+
last = message.chat.last_name,
73+
username = None if not message.chat.username else '@' + message.chat.username,
74+
mention = message.from_user.mention,
75+
id = message.from_user.id
76+
),
7177
reply_markup = reply_markup,
7278
disable_web_page_preview = True,
7379
quote = True

0 commit comments

Comments
 (0)