From fd466d061cb80305bd59c94208bba19ce94e6a81 Mon Sep 17 00:00:00 2001 From: kwzrd Date: Sat, 4 Apr 2020 15:59:54 +0200 Subject: Transition towards `wait_until_guild_available` use All calls to `wait_until_ready` are replaced with the new event. To help with static analysis, we annotate `bot` attrs as instances of our custom SeasonalBot class where necessary. --- bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/bot.py') diff --git a/bot/bot.py b/bot/bot.py index e460d9ab..b0162377 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -151,7 +151,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() + await self.wait_until_guild_available() devlog = self.get_channel(Channels.devlog) if not devlog: -- cgit v1.2.3