fix: fixed detecting file formats

This commit is contained in:
Seaswimmer 2023-08-01 12:38:45 -04:00
parent 5a1c65a764
commit 653d6fc007
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -55,7 +55,7 @@ class MusicDownloader(commands.Cog):
info = ydl.extract_info(url=url, download=True)
title = info['title']
id = info['id']
filename = title + f' [{id}.m4a]'
filename = title + f' [{id}].m4a'
return filename
data_path = await self.config.save_directory()
if subfolder: