fix: added a start message for the youtube downloader
This commit is contained in:
parent
829a01a6ed
commit
39fd289621
1 changed files with 4 additions and 0 deletions
|
@ -82,4 +82,8 @@ class MusicDownloader(commands.Cog):
|
||||||
makedirs(data_path)
|
makedirs(data_path)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
await message.edit(f"Encountered an error attempting to create the subfolder!\n`{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)
|
youtube_download(url, data_path, message)
|
||||||
|
|
Loading…
Reference in a new issue