fix: fixed detecting file formats
This commit is contained in:
parent
5a1c65a764
commit
653d6fc007
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue