fix: minor [p]download fix to allow for subfolders with spaces
This commit is contained in:
parent
ec1d91560e
commit
57493c3abe
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,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 = False, 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 `m4a` and uploads the file to discord.
|
"""This command downloads a YouTube Video as an `m4a` 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.
|
||||||
|
|
Loading…
Reference in a new issue