mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Fix 18
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user