misc: changed default bool value for delete param
This commit is contained in:
parent
9cdab19d6b
commit
b124861f26
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||||
|
|
Loading…
Reference in a new issue