diff options
| author | 2020-05-13 19:59:03 +0300 | |
|---|---|---|
| committer | 2020-05-13 19:59:03 +0300 | |
| commit | 34b8ae45e644226c75ce070db4b8b375129d278a (patch) | |
| tree | 8d7810668e106ca9f75e2ed598f9ee1ec8453cf8 | |
| parent | PEP Improvisations: Added `staticmethod` decorator to `get_pep_zero_embed` (diff) | |
PEP Improvisations: Replaced `wait_until_guild_available` with `wait_until_ready`
| -rw-r--r-- | bot/cogs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py index e56ffb4dd..91f462c42 100644 --- a/bot/cogs/utils.py +++ b/bot/cogs/utils.py @@ -241,7 +241,7 @@ class Utils(Cog): async def refresh_peps_urls(self) -> None: """Refresh PEP URLs listing in every 3 hours.""" # Wait until HTTP client is available - await self.bot.wait_until_guild_available() + await self.bot.wait_until_ready() async with self.bot.http_session.get(self.peps_listing_api_url) as resp: listing = await resp.json() |