mention
This commit is contained in:
parent
a800a33eba
commit
55165f5613
@ -45,11 +45,12 @@ async def skip(client, m: Message):
|
|||||||
await m.reply("🗑️ **Clearing the Queues**\n\n**• userbot leaving voice chat**")
|
await m.reply("🗑️ **Clearing the Queues**\n\n**• userbot leaving voice chat**")
|
||||||
else:
|
else:
|
||||||
buttons = stream_markup(user_id)
|
buttons = stream_markup(user_id)
|
||||||
|
requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})"
|
||||||
await m.send_photo(
|
await m.send_photo(
|
||||||
chat_id,
|
chat_id,
|
||||||
photo=f"{IMG_3}",
|
photo=f"{IMG_3}",
|
||||||
reply_markup=InlineKeyboardMarkup(buttons),
|
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:
|
else:
|
||||||
skip = m.text.split(None, 1)[1]
|
skip = m.text.split(None, 1)[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user