fix: declared content
This commit is contained in:
parent
6e3e52d66d
commit
d7a6e1e53b
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class MusicDownloader(commands.Cog):
|
|||
try:
|
||||
ytdlp_output = youtube_download(self, url, data_path, message)
|
||||
except utils.DownloadError or utils.ExtractorError:
|
||||
await message.edit("Please provide a link to YouTube and not another site.\mThe site you've linked to is known for using DRM protection, so MusicDownloader cannot download from it.")
|
||||
await message.edit(content="Please provide a link to YouTube and not another site.\mThe site you've linked to is known for using DRM protection, so MusicDownloader cannot download from it.")
|
||||
return
|
||||
full_filename = os.path.join(data_path, ytdlp_output[0])
|
||||
while not os.path.isfile(full_filename):
|
||||
|
|
Loading…
Reference in a new issue