From b90444dfc322280549c5f16cb22b93f3a5e383c2 Mon Sep 17 00:00:00 2001 From: Migatu Date: Fri, 5 Apr 2024 16:36:17 +0200 Subject: [PATCH] Pornol dl2 --- bot.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bot.py b/bot.py index 8a434cf..19d93b0 100644 --- a/bot.py +++ b/bot.py @@ -2153,12 +2153,6 @@ async def krecimy_pornola(ctx): if re.match("http.*", item_yt): _, files = await get_file(ctx, "Pornol", item_yt) if files: - for file_iter in files: - global MUZYKA # pylint: disable=global-variable-not-assigned - MUZYKA["queue"].insert(0, file_iter) - music_file_list.update_file_list(file_iter) - MUZYKA["requester"].insert(0, ctx.author) - await ctx.send(f"DodaƂem do listy {file_iter}") logger.info("Pornol udany")