diff options
| author | 2020-02-25 14:19:00 +0100 | |
|---|---|---|
| committer | 2020-02-25 14:19:00 +0100 | |
| commit | daf50941ca6ceaa0b65d71cd9fee1ad2a67e1718 (patch) | |
| tree | 5fb131aeaa56d0964f29e53db5a935c3dfd1d481 | |
| parent | Merge 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.py | 2 |
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} |