From 6af47f80d73b5bb5f13710cef0e76530838a4aa8 Mon Sep 17 00:00:00 2001 From: kwzrd Date: Fri, 3 Apr 2020 22:20:42 +0200 Subject: Ensure cache is ready before grabbing devlog channel --- bot/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/bot.py b/bot/bot.py index 87575fde..4d5397ca 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -148,6 +148,7 @@ class SeasonalBot(commands.Bot): async def send_log(self, title: str, details: str = None, *, icon: str = None) -> None: """Send an embed message to the devlog channel.""" + await self.wait_until_ready() devlog = self.get_channel(Channels.devlog) if not devlog: -- cgit v1.2.3