From 55165f5613432562b565c237ae34bf7201d53d6a Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 20 Jan 2022 21:43:30 +0700 Subject: [PATCH] mention --- program/admins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program/admins.py b/program/admins.py index 2ff0edc..0b9be9d 100644 --- a/program/admins.py +++ b/program/admins.py @@ -45,11 +45,12 @@ async def skip(client, m: Message): await m.reply("🗑️ **Clearing the Queues**\n\n**• userbot leaving voice chat**") else: buttons = stream_markup(user_id) + requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.send_photo( chat_id, photo=f"{IMG_3}", reply_markup=InlineKeyboardMarkup(buttons), - caption=f"⏭ **Skipped to the next track.**\n\n🏷 **Name:** [{op[0]}]({op[1]})\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {m.from_user.mention()}", + caption=f"⏭ **Skipped to the next track.**\n\n🗂 **Name:** [{op[0]}]({op[1]})\n💭 **Chat:** `{chat_id}`\n🧸 **Request by:** {requester}", ) else: skip = m.text.split(None, 1)[1]