mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Downloader] [p]pipinstall: Handle no args
This commit is contained in:
@@ -194,6 +194,8 @@ class Downloader(commands.Cog):
|
||||
@checks.is_owner()
|
||||
async def pipinstall(self, ctx, *deps: str):
|
||||
"""Install a group of dependencies using pip."""
|
||||
if not deps:
|
||||
return await ctx.send_help()
|
||||
repo = Repo("", "", "", Path.cwd(), loop=ctx.bot.loop)
|
||||
success = await repo.install_raw_requirements(deps, self.LIB_PATH)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user