From 4d8aff29d72af627770e0ef6e56477db31e8ed6a Mon Sep 17 00:00:00 2001 From: Predeactor <61093863+Predeactor@users.noreply.github.com> Date: Sun, 5 Jul 2020 14:09:25 +0200 Subject: [PATCH] Don't forget pipinstall --- redbot/cogs/downloader/downloader.py | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/redbot/cogs/downloader/downloader.py b/redbot/cogs/downloader/downloader.py index 0561f4d0a..40eed8e6f 100644 --- a/redbot/cogs/downloader/downloader.py +++ b/redbot/cogs/downloader/downloader.py @@ -474,14 +474,25 @@ class Downloader(commands.Cog): success = await repo.install_raw_requirements(deps, self.LIB_PATH) if success: - await ctx.send(_("Libraries installed.")) + if deps > 1: + await ctx.send(_("Libraries installed.")) + else: + await ctx.send(_("Library installed.")) else: - await ctx.send( - _( - "Some libraries failed to install. Please check" - " your logs for a complete list." + if deps > 1: + await ctx.send( + _( + "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() @checks.is_owner()