fix: added kwarg to change_data_path so it properly supports spaces
This commit is contained in:
parent
d6511fb550
commit
ac10d4edf7
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class MusicDownloader(commands.Cog):
|
|||
|
||||
@commands.command()
|
||||
@checks.is_owner()
|
||||
async def change_data_path(self, ctx: commands.Context, data_path: str = None):
|
||||
async def change_data_path(self, ctx: commands.Context, *, data_path: str = None):
|
||||
"""This command changes the data path this cog outputs to."""
|
||||
old_path = await self.config.save_directory()
|
||||
if not data_path:
|
||||
|
|
Loading…
Reference in a new issue