mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Update announcer.py (#3514)
* Update announcer.py * Update announcer.py
This commit is contained in:
parent
1fc4ece14c
commit
8d73838d80
@ -70,12 +70,12 @@ class Announcer:
|
|||||||
failed.append(str(g.id))
|
failed.append(str(g.id))
|
||||||
await asyncio.sleep(0.5)
|
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:
|
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)))
|
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
|
self.active = False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user