mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Downloader] Pretties up the output when libraries fail to install (#2576)
* Pretties up the output when libraries fail to install * Stupid double quote bullshit * Added jack1142's suggestion * I will never satisfy the eldritch being named black
This commit is contained in:
parent
46413c2c52
commit
8555f8c28c
@ -305,10 +305,11 @@ class Downloader(commands.Cog):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if not await repo.install_requirements(cog, self.LIB_PATH):
|
if not await repo.install_requirements(cog, self.LIB_PATH):
|
||||||
|
libraries = humanize_list(tuple(map(inline, cog.requirements)))
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
_(
|
_("Failed to install the required libraries for `{cog_name}`: {libraries}").format(
|
||||||
"Failed to install the required libraries for `{cog_name}`: `{libraries}`"
|
cog_name=cog.name, libraries=libraries
|
||||||
).format(cog_name=cog.name, libraries=cog.requirements)
|
)
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user