mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
Don't forget pipinstall
This commit is contained in:
@@ -474,14 +474,25 @@ class Downloader(commands.Cog):
|
|||||||
success = await repo.install_raw_requirements(deps, self.LIB_PATH)
|
success = await repo.install_raw_requirements(deps, self.LIB_PATH)
|
||||||
|
|
||||||
if success:
|
if success:
|
||||||
await ctx.send(_("Libraries installed."))
|
if deps > 1:
|
||||||
|
await ctx.send(_("Libraries installed."))
|
||||||
|
else:
|
||||||
|
await ctx.send(_("Library installed."))
|
||||||
else:
|
else:
|
||||||
await ctx.send(
|
if deps > 1:
|
||||||
_(
|
await ctx.send(
|
||||||
"Some libraries failed to install. Please check"
|
_(
|
||||||
" your logs for a complete list."
|
"Some libraries failed to install. Please check"
|
||||||
|
" your logs for a complete list."
|
||||||
|
)
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
await ctx.send(
|
||||||
|
_(
|
||||||
|
"The library failed to install. Please check "
|
||||||
|
"your logs for a complete list."
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
|
|
||||||
@commands.group()
|
@commands.group()
|
||||||
@checks.is_owner()
|
@checks.is_owner()
|
||||||
|
|||||||
Reference in New Issue
Block a user