fixed: added verbose messaging for if someone tries to delete something already downloaded

This commit is contained in:
Seaswimmer 2023-08-02 01:34:52 -04:00
parent ce4f7acbcb
commit 0b87a50f2b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -165,6 +165,8 @@ class MusicDownloader(commands.Cog):
if ytdlp_output[1] is False:
os.remove(full_filename)
await complete_message.edit(content="YouTube Downloader completed!\nFile has been deleted from Galaxy.\nDownloaded file:")
if ytdlp_output[1] is True:
await complete_message.edit(content="YouTube Downloader completed!\nFile has not been deleted from Galaxy, as it was previously downloaded and saved.\nDownloaded file:")
@commands.group(name="dl-blacklist", invoke_without_command=True)
async def blacklist(self, ctx: commands.Context, user: discord.User = None):