fix: fixed an await issue

This commit is contained in:
SeaswimmerTheFsh 2023-07-31 23:24:28 -04:00
parent 112ec67bdd
commit 19a9bc9bc9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 5019678FD9CF50D8

View file

@ -82,8 +82,8 @@ class MusicDownloader(commands.Cog):
makedirs(data_path)
except OSError as e:
await message.edit(f"Encountered an error attempting to create the subfolder!\n`{e}`")
msg = await message.edit
msg = message.edit
else:
msg = await ctx.send
message = msg("YouTube Downloader started!")
msg = ctx.send
message = await msg("YouTube Downloader started!")
youtube_download(url, data_path, message)