Pornol dl2

This commit is contained in:
2024-04-05 16:36:17 +02:00
parent e67eca5d41
commit b90444dfc3
-6
View File
@@ -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")