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")