diff --git a/program/video.py b/program/video.py index 1632a00..52af8fe 100644 --- a/program/video.py +++ b/program/video.py @@ -5,7 +5,7 @@ import asyncio import re -from config import ASSISTANT_NAME, BOT_USERNAME, IMG_1, IMG_2, UPDATES_CHANNEL +from config import ASSISTANT_NAME, BOT_USERNAME, IMG_1, IMG_2 from driver.filters import command, other_filters from driver.queues import QUEUE, add_to_queue from driver.veez import call_py, user @@ -65,8 +65,6 @@ async def vplay(c: Client, m: Message): [ InlineKeyboardButton(text="• Mᴇɴᴜ", callback_data="cbmenu"), InlineKeyboardButton(text="• Cʟᴏsᴇ", callback_data="cls"), - ],[ - InlineKeyboardButton(text="✨ Cʜᴀɴɴᴇʟ", url=f"https://t.me/{UPDATES_CHANNEL}"), ] ] ) @@ -155,7 +153,7 @@ async def vplay(c: Client, m: Message): requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( photo=f"{IMG_1}", - caption=f"💡 **Track added to the queue**\n\n🏷 **Name:** [{songname}]({link})\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}\n🔢 **At position »** `{pos}`", + caption=f"💡 **Track added to queue »** `{pos}`\n\n🏷 **Name:** [{songname}]({link})\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) else: @@ -179,7 +177,7 @@ async def vplay(c: Client, m: Message): requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( photo=f"{IMG_2}", - caption=f"💡 **video streaming started.**\n\n🏷 **Name:** [{songname}]({link})\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", + caption=f"💡 **Video streaming started.**\n\n🏷 **Name:** [{songname}]({link})\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) else: @@ -210,7 +208,7 @@ async def vplay(c: Client, m: Message): requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( photo=f"{IMG_1}", - caption=f"💡 **Track added to the queue**\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}\n🔢 **At position »** `{pos}`", + caption=f"💡 **Track added to queue »** `{pos}`\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) else: @@ -229,7 +227,7 @@ async def vplay(c: Client, m: Message): requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( photo=f"{IMG_2}", - caption=f"💡 **video streaming started.**\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", + caption=f"💡 **Video streaming started.**\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) except Exception as ep: @@ -264,7 +262,7 @@ async def vplay(c: Client, m: Message): ) await m.reply_photo( photo=f"{IMG_1}", - caption=f"💡 **Track added to the queue**\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}\n🔢 **At position »** `{pos}`", + caption=f"💡 **Track added to queue »** `{pos}`\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) else: @@ -283,7 +281,7 @@ async def vplay(c: Client, m: Message): requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( photo=f"{IMG_2}", - caption=f"💡 **video streaming started.**\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", + caption=f"💡 **Video streaming started.**\n\n🏷 **Name:** [{songname}]({url})\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) except Exception as ep: @@ -300,8 +298,6 @@ async def vstream(c: Client, m: Message): [ InlineKeyboardButton(text="• Mᴇɴᴜ", callback_data="cbmenu"), InlineKeyboardButton(text="• Cʟᴏsᴇ", callback_data="cls"), - ],[ - InlineKeyboardButton(text="✨ Cʜᴀɴɴᴇʟ", url=f"https://t.me/{UPDATES_CHANNEL}"), ] ] ) @@ -399,7 +395,7 @@ async def vstream(c: Client, m: Message): requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( photo=f"{IMG_1}", - caption=f"💡 **Track added to the queue**\n\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}\n🔢 **At position »** `{pos}`", + caption=f"💡 **Track added to queue »** `{pos}`\n\n💭 **Chat:** `{chat_id}`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) else: @@ -426,7 +422,7 @@ async def vstream(c: Client, m: Message): ) await m.reply_photo( photo=f"{IMG_2}", - caption=f"💡 **[Live stream video]({link}) started.**\n\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", + caption=f"💡 **[Video live]({link}) stream started.**\n\n💭 **Chat:** `{chat_id}`\n💡 **Status:** `Playing`\n🎧 **Request by:** {requester}", reply_markup=keyboard, ) except Exception as ep: