We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8eb451 commit 71293d6Copy full SHA for 71293d6
userge/plugins/help.py
@@ -402,7 +402,8 @@ async def inline_answer(_, inline_query: InlineQuery):
402
PRVT_MSGS[inline_query.id] = (user.id, user.first_name, msg.strip(': '))
403
prvte_msg = [[InlineKeyboardButton(
404
"Show Message 🔐", callback_data=f"prvtmsg({inline_query.id})")]]
405
- msg_c = f"🔒 A **private message** to {user.mention}, Only he/she can open it."
+ msg_c = f"🔒 A **private message** to {'@' + user.username}, "
406
+ msg_c += "Only he/she can open it."
407
results.append(
408
InlineQueryResultArticle(
409
id=uuid4(),
0 commit comments