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/exts/evergreen/branding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/evergreen/branding.py') diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index 72f31042..1d463c5b 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -198,7 +198,7 @@ class BrandingManager(commands.Cog): All method calls in the internal loop are considered safe, i.e. no errors propagate to the daemon's loop. The daemon itself does not perform any error handling on its own. """ - await self.bot.wait_until_ready() + await self.bot.wait_until_guild_available() while True: self.current_season = get_current_season() -- cgit v1.2.3