aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-02-25 14:19:00 +0100
committerGravatar Numerlor <[email protected]>2020-02-25 14:19:00 +0100
commitdaf50941ca6ceaa0b65d71cd9fee1ad2a67e1718 (patch)
tree5fb131aeaa56d0964f29e53db5a935c3dfd1d481
parentMerge branch 'master' into channel_constants_check (diff)
Wait for available guild instead of bot startup.
Co-authored-by: SebastiaanZ <[email protected]>
Diffstat (limited to '')
-rw-r--r--bot/cogs/config_verifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/config_verifier.py b/bot/cogs/config_verifier.py
index cc19f7423..b43b48264 100644
--- a/bot/cogs/config_verifier.py
+++ b/bot/cogs/config_verifier.py
@@ -22,7 +22,7 @@ class ConfigVerifier(Cog):
If any channels in config aren't present in server, log them in a warning.
"""
- await self.bot.wait_until_ready()
+ await self.bot.wait_until_guild_available()
server = self.bot.get_guild(constants.Guild.id)
server_channel_ids = {channel.id for channel in server.channels}