diff options
author | 2020-04-04 15:59:54 +0200 | |
---|---|---|
committer | 2020-04-04 15:59:54 +0200 | |
commit | fd466d061cb80305bd59c94208bba19ce94e6a81 (patch) | |
tree | 83004069d1be5284a7bfb9bd8cb01879d9f4b55a /bot/exts/evergreen/branding.py | |
parent | Add `wait_until_guild_available` coroutine (diff) |
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.
Diffstat (limited to 'bot/exts/evergreen/branding.py')
-rw-r--r-- | bot/exts/evergreen/branding.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |