From 959c41aced2c25ef5c2738376e4d1febdc35029a Mon Sep 17 00:00:00 2001 From: Predeactor Date: Tue, 25 Aug 2020 19:15:30 +0000 Subject: [PATCH] This f****** fix that took me too much of my time for nothing. --- redbot/cogs/downloader/downloader.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/redbot/cogs/downloader/downloader.py b/redbot/cogs/downloader/downloader.py index 18ce4a078..45943c345 100644 --- a/redbot/cogs/downloader/downloader.py +++ b/redbot/cogs/downloader/downloader.py @@ -1440,7 +1440,7 @@ class Downloader(commands.Cog): if len(installed_cogs) > 1: message += _("\nUpdated: ") + humanize_list(tuple(map(inline, updated_cognames))) 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 len(cogs_with_changed_eud_statement) > 1: message += ( @@ -1452,10 +1452,10 @@ class Downloader(commands.Cog): ) else: message += _("End user data statements for {cog} have been changed.").format( - cog=cogs_with_changed_eud_statement[0] - ) + _("\nYou can use {command} to see the updated statements.\n").format( - command=inline(f"{ctx.clean_prefix}cog info ") - ) + cog=tuple(cogs_with_changed_eud_statement)[0] + ) + _("\nYou can use {command} to see the updated statements.\n").format( + command=inline(f"{ctx.clean_prefix}cog info ") + ) if failed_cogs: cognames = [cog.name for cog in failed_cogs] if len(failed_cogs) > 1: