mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 01:42:30 -05:00
This f****** fix that took me too much of my time for nothing.
This commit is contained in:
@@ -1440,7 +1440,7 @@ class Downloader(commands.Cog):
|
|||||||
if len(installed_cogs) > 1:
|
if len(installed_cogs) > 1:
|
||||||
message += _("\nUpdated: ") + humanize_list(tuple(map(inline, updated_cognames)))
|
message += _("\nUpdated: ") + humanize_list(tuple(map(inline, updated_cognames)))
|
||||||
else:
|
else:
|
||||||
message += _("\n{cog} updated.").format(cog=updated_cognames[0])
|
message += _("\n{cog} updated.").format(cog=inline(tuple(updated_cognames)[0]))
|
||||||
if cogs_with_changed_eud_statement:
|
if cogs_with_changed_eud_statement:
|
||||||
if len(cogs_with_changed_eud_statement) > 1:
|
if len(cogs_with_changed_eud_statement) > 1:
|
||||||
message += (
|
message += (
|
||||||
@@ -1452,10 +1452,10 @@ class Downloader(commands.Cog):
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
message += _("End user data statements for {cog} have been changed.").format(
|
message += _("End user data statements for {cog} have been changed.").format(
|
||||||
cog=cogs_with_changed_eud_statement[0]
|
cog=tuple(cogs_with_changed_eud_statement)[0]
|
||||||
) + _("\nYou can use {command} to see the updated statements.\n").format(
|
) + _("\nYou can use {command} to see the updated statements.\n").format(
|
||||||
command=inline(f"{ctx.clean_prefix}cog info <repo_name> <cog_name>")
|
command=inline(f"{ctx.clean_prefix}cog info <repo_name> <cog_name>")
|
||||||
)
|
)
|
||||||
if failed_cogs:
|
if failed_cogs:
|
||||||
cognames = [cog.name for cog in failed_cogs]
|
cognames = [cog.name for cog in failed_cogs]
|
||||||
if len(failed_cogs) > 1:
|
if len(failed_cogs) > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user