misc: changed default bool value for delete param

This commit is contained in:
Seaswimmer 2023-08-01 13:28:11 -04:00
parent 9cdab19d6b
commit b124861f26
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -27,7 +27,7 @@ class MusicDownloader(commands.Cog):
await ctx.send("The path you've provided doesn't exist!") await ctx.send("The path you've provided doesn't exist!")
@commands.command(aliases=["dl"]) @commands.command(aliases=["dl"])
async def download(self, ctx: commands.Context, url: str, delete: bool = True, subfolder: str = None): async def download(self, ctx: commands.Context, url: str, delete: bool = False, subfolder: str = None):
"""This command downloads a YouTube Video as an MP3 to the local music directory.""" """This command downloads a YouTube Video as an MP3 to the local music directory."""
def youtube_download(self, url: str, path: str, message: discord.Message): def youtube_download(self, url: str, path: str, message: discord.Message):
"""This function does the actual downloading of the YouTube Video.""" """This function does the actual downloading of the YouTube Video."""