fix: awaited something

This commit is contained in:
Seaswimmer 2023-08-01 13:23:45 -04:00
parent 9d3f62d51e
commit d9f9fafd9f
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -105,4 +105,4 @@ class MusicDownloader(commands.Cog):
if delete is True or await self.bot.is_owner(ctx.user) is False: if delete is True or await self.bot.is_owner(ctx.user) is False:
if ytdlp_output[2] is False: if ytdlp_output[2] is False:
os.remove(full_filename) os.remove(full_filename)
complete_message.edit(content="YouTube Downloader completed!\nFile has been deleted from Galaxy.\nDownloaded file:") await complete_message.edit(content="YouTube Downloader completed!\nFile has been deleted from Galaxy.\nDownloaded file:")