misc(youtubedownloader): delete argument in download command now set to True by default

This commit is contained in:
Seaswimmer 2023-11-26 12:31:53 -05:00
parent 6d326b0873
commit 85585d4988
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -43,7 +43,7 @@ class YouTubeDownloader(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, audio_only: bool = True, delete: bool = False, *, subfolder: str = None): async def download(self, ctx: commands.Context, url: str, audio_only: bool = True, delete: bool = True, *, subfolder: str = None):
"""This command downloads a YouTube Video as an `m4a` (or `mp4`) and uploads the file to discord. """This command downloads a YouTube Video as an `m4a` (or `mp4`) and uploads the file to discord.
If you're considered a bot owner, you will be able to save downloaded files to the data path set in the `[p]change_data_path` command. If you're considered a bot owner, you will be able to save downloaded files to the data path set in the `[p]change_data_path` command.