async def g_yt_playlist(client, message): """ /pytdl command """ user_command = message.command[0] usr_id = message.from_user.id is_cloud = False url = None if message.reply_to_message: url = message.reply_to_message.text if user_command == GPYTDL_COMMAND.lower(): is_cloud = True elif len(message.command) == 2: url = message.command[1] if user_command == GPYTDL_COMMAND.lower(): is_cloud = True else: await message.reply_text("😔 No downloading source provided 🙄", quote=True) return if "youtube.com/playlist" in url: i_m_sefg = await message.reply_text( f"💀 Downloading for you <a href='tg://user?id={usr_id}'>🤗</a>", parse_mode="html", ) await yt_playlist_downg(message, i_m_sefg, client, is_cloud) else: await message.reply_text("YouTube playlist link only 🙄", quote=True)
async def g_yt_playlist(client, message): """ /pytdl command """ user_command = message.command[0] usr_id = message.from_user.id is_cloud = False url = None if message.reply_to_message: url = message.reply_to_message.text if user_command == GPYTDL_COMMAND.lower(): is_cloud = True elif len(message.command) == 2: url = message.command[1] if user_command == GPYTDL_COMMAND.lower(): is_cloud = True else: await message.reply_text("<b> Reply with Playlist link</b>", quote=True) return if "youtube.com/playlist" in url: u_men = message.from_user.mention i_m_sefg = await message.reply_text( f"<b>Ok Fine 🐈 {u_men} Bro!!:\n Your Request has been ADDED</b>\n\n <code> Please wait until Upload</code>", parse_mode="html", ) await yt_playlist_downg(message, i_m_sefg, client, is_cloud) else: await message.reply_text("<b>YouTube playlist link only 🙄</b>", quote=True)
async def g_yt_playlist(client, message): """ /pytdl command """ user_command = message.command[0] usr_id = message.from_user.id is_cloud = False url = None if message.reply_to_message: url = message.reply_to_message.text if user_command == GPYTDL_COMMAND.lower(): is_cloud = True elif len(message.command) == 2: url = message.command[1] if user_command == GPYTDL_COMMAND.lower(): is_cloud = True else: await message.reply_text("😔 No downloading source provided 🙄", quote=True) return if "youtube.com/playlist" in url: i_m_sefg = await message.reply_text( f"💀 Downloading for you <a href='tg://user?id={usr_id}'>🤗</a>", parse_mode="html", ) await yt_playlist_downg(message, i_m_sefg, client, is_cloud) else: await message.reply_text("BRO! SERIOUSLY?🙄..\n Reply to the link of your YOUTUBE PLAYLIST, if you want to get it uploaded into Telegram", quote=True)
async def g_yt_playlist(client, message): """ /pytdl command """ user_command = message.command[0] usr_id = message.from_user.id is_cloud = False url = None if message.reply_to_message: url = message.reply_to_message.text if user_command == GPYTDL_COMMAND.lower(): is_cloud = True elif len(message.command) == 2: url = message.command[1] if user_command == GPYTDL_COMMAND.lower(): is_cloud = True else: await message.reply_text( "😔 Tidak ada sumber download yang diberikan 🙄", quote=True) return if "youtube.com/playlist" in url: i_m_sefg = await message.reply_text( f"💀 Mengunduh untukmu <a href='tg://user?id={usr_id}'>🤗</a>", parse_mode="html", ) await yt_playlist_downg(message, i_m_sefg, client, is_cloud) else: await message.reply_text("Cuma buat YouTube playlist yahh 🙄", quote=True)
async def g_yt_playlist(client, message): """ /pytdl command """ user_command = message.command[0] usr_id = message.from_user.id is_cloud = False url = None if message.reply_to_message: url = message.reply_to_message.text if user_command == GPYTDL_COMMAND.lower(): is_cloud = True elif len(message.command) == 2: url = message.command[1] if user_command == GPYTDL_COMMAND.lower(): is_cloud = True else: await message.reply_text("😑 No downloading source provided. Reply the command to playlist link", quote=True) return if "youtube.com/playlist" in url: await yt_playlist_downg(message, i_m_sefg, client, is_cloud) else: await message.reply_text("YouTube playlist link only 🙄", quote=True)
async def g_yt_playlist(client, message): """ /pytdl command """ user_command = message.command[0] usr_id = message.from_user.id is_cloud = False url = None if message.reply_to_message: url = message.reply_to_message.text if user_command == GPYTDL_COMMAND.lower(): is_cloud = True elif len(message.command) == 2: url = message.command[1] if user_command == GPYTDL_COMMAND.lower(): is_cloud = True else: await message.reply_text("𝐆𝐢𝐛, 𝐚 𝐯𝐚𝐥𝐢𝐝 𝐥𝐢𝐧𝐤 𝐯𝐞𝐫𝐨 (◔‿◔)", quote=True) return if "youtube.com/playlist" in url: i_m_sefg = await message.reply_text("𝐏𝐫𝐨𝐜𝐞𝐬𝐬𝐢𝐧𝐠.....", quote=True) await yt_playlist_downg(message, i_m_sefg, client, is_cloud) else: await message.reply_text("YouTube playlist link only 🙄", quote=True)