fix: added a start message for the youtube downloader

This commit is contained in:
Seaswimmer 2023-07-31 23:19:49 -04:00
parent 829a01a6ed
commit 39fd289621
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -82,4 +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 = message.edit
else:
msg = message.send
message = await msg("YouTube Downloader started!")
youtube_download(url, data_path, message)