misc: added more info to the error message
This commit is contained in:
parent
9b647d54c4
commit
6e3e52d66d
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class MusicDownloader(commands.Cog):
|
||||||
try:
|
try:
|
||||||
ytdlp_output = youtube_download(self, url, data_path, message)
|
ytdlp_output = youtube_download(self, url, data_path, message)
|
||||||
except utils.DownloadError or utils.ExtractorError:
|
except utils.DownloadError or utils.ExtractorError:
|
||||||
await ctx.send("Please provide a link to YouTube and not another site.")
|
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.")
|
||||||
return
|
return
|
||||||
full_filename = os.path.join(data_path, ytdlp_output[0])
|
full_filename = os.path.join(data_path, ytdlp_output[0])
|
||||||
while not os.path.isfile(full_filename):
|
while not os.path.isfile(full_filename):
|
||||||
|
|
Loading…
Reference in a new issue