From 21f3a1cace0dddb3fb58a68d046b410b7dacb830 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 5 Aug 2023 18:05:22 -0400 Subject: [PATCH] fix: I wasn't awaiting something --- musicdownloader/musicdownloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musicdownloader/musicdownloader.py b/musicdownloader/musicdownloader.py index e242183..a523988 100644 --- a/musicdownloader/musicdownloader.py +++ b/musicdownloader/musicdownloader.py @@ -154,7 +154,7 @@ class MusicDownloader(commands.Cog): msg = ctx.send message = await msg("YouTube Downloader started!") try: - ytdlp_output = download_file(self, url, data_path) + ytdlp_output = await download_file(self, url, data_path) except utils.DownloadError or utils.ExtractorError: 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