fix: changed \m to \n

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

View file

@ -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 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.") await message.edit(content="Please provide a link to YouTube and not another site.\nThe 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):