This commit is contained in:
2024-03-29 13:11:01 +01:00
parent 3ac3abe9a9
commit 2cac362166
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -1134,6 +1134,7 @@ async def dej_co_ze_spotifaja(ctx):
else:
separator = "/"
for file in files:
file_path = dir_path + separator + file["artist"] + " - " + file["name"] + ".mp3"
global MUZYKA # pylint: disable=global-variable-not-assigned
MUZYKA["queue"].insert(
0,
@@ -1145,7 +1146,7 @@ async def dej_co_ze_spotifaja(ctx):
+ ".mp3",
)
MUZYKA["requester"].insert(0, ctx.author)
music_file_list.update_file_list(file)
music_file_list.update_file_list(file_path)
await ctx.send(
f"Dodałem do listy {dir_path}{file['artist']} - + {file['name']}.mp3"
)