fix: declared content

This commit is contained in:
Seaswimmer 2023-08-02 14:54:23 -04:00
parent 6e3e52d66d
commit d7a6e1e53b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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):