diff --git a/bot.py b/bot.py index e4a53c6..f8d6f99 100644 --- a/bot.py +++ b/bot.py @@ -1715,12 +1715,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")