diff options
author | 2020-04-04 15:59:54 +0200 | |
---|---|---|
committer | 2020-04-04 15:59:54 +0200 | |
commit | fd466d061cb80305bd59c94208bba19ce94e6a81 (patch) | |
tree | 83004069d1be5284a7bfb9bd8cb01879d9f4b55a /bot/bot.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/bot.py')
-rw-r--r-- | bot/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |