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)