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