From 8d73838d8033c79893a3a2440ed28b5f7b663c62 Mon Sep 17 00:00:00 2001 From: trundleroo <57276947+trundleroo@users.noreply.github.com> Date: Thu, 6 Feb 2020 13:27:32 -0400 Subject: [PATCH] Update announcer.py (#3514) * Update announcer.py * Update announcer.py --- redbot/cogs/admin/announcer.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/redbot/cogs/admin/announcer.py b/redbot/cogs/admin/announcer.py index f0045b167..3aa420b4b 100644 --- a/redbot/cogs/admin/announcer.py +++ b/redbot/cogs/admin/announcer.py @@ -70,12 +70,12 @@ class Announcer: failed.append(str(g.id)) await asyncio.sleep(0.5) - msg = ( - _("I could not announce to the following server: ") - if len(failed) == 1 - else _("I could not announce to the following servers: ") - ) if failed: + msg = ( + _("I could not announce to the following server: ") + if len(failed) == 1 + else _("I could not announce to the following servers: ") + ) msg += humanize_list(tuple(map(inline, failed))) - await self.ctx.bot.send_to_owners(msg) + await self.ctx.bot.send_to_owners(msg) self.active = False