fixed: added verbose messaging for if someone tries to delete something already downloaded
This commit is contained in:
parent
ce4f7acbcb
commit
0b87a50f2b
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue