From 0284fb6a0d9294894c3103fce5cb288044b5e90a Mon Sep 17 00:00:00 2001 From: Allan Galarza Date: Thu, 10 Jan 2019 09:05:35 -0700 Subject: [PATCH] Fixed bug with news announcements not being sent --- cogs/tibia.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/tibia.py b/cogs/tibia.py index 04b3dcc..2d97401 100644 --- a/cogs/tibia.py +++ b/cogs/tibia.py @@ -2054,6 +2054,8 @@ async def scan_news(self): log.warning("scan_news: Missing permissions.") except discord.HTTPException: log.warning("scan_news: Malformed message.") + except AttributeError: + pass await asyncio.sleep(60 * 30) except NetworkError: await asyncio.sleep(30)