mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
Address my review comment
This commit is contained in:
@@ -1279,11 +1279,9 @@ class Downloader(commands.Cog):
|
|||||||
for i in installed_cogs_in_repo
|
for i in installed_cogs_in_repo
|
||||||
)
|
)
|
||||||
|
|
||||||
if not installed_str:
|
if len(installed_cogs_in_repo) > 1:
|
||||||
installed_str = _("No cogs installed.")
|
|
||||||
elif len(installed_cogs_in_repo) > 1:
|
|
||||||
installed_str = _("Installed Cogs:\n{text}").format(text=installed_str)
|
installed_str = _("Installed Cogs:\n{text}").format(text=installed_str)
|
||||||
else:
|
elif installed_cogs_in_repo:
|
||||||
installed_str = _("Installed Cog:\n{text}").format(text=installed_str)
|
installed_str = _("Installed Cog:\n{text}").format(text=installed_str)
|
||||||
available_str = "\n".join(
|
available_str = "\n".join(
|
||||||
"+ {}{}".format(cog.name, ": {}".format(cog.short) if cog.short else "")
|
"+ {}{}".format(cog.name, ": {}".format(cog.short) if cog.short else "")
|
||||||
|
|||||||
Reference in New Issue
Block a user