aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-04-04 15:59:54 +0200
committerGravatar kwzrd <[email protected]>2020-04-04 15:59:54 +0200
commitfd466d061cb80305bd59c94208bba19ce94e6a81 (patch)
tree83004069d1be5284a7bfb9bd8cb01879d9f4b55a /bot/bot.py
parentAdd `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.py2
1 files changed, 1 insertions, 1 deletions
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: