aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-13 19:59:03 +0300
committerGravatar ks129 <[email protected]>2020-05-13 19:59:03 +0300
commit34b8ae45e644226c75ce070db4b8b375129d278a (patch)
tree8d7810668e106ca9f75e2ed598f9ee1ec8453cf8
parentPEP 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.py2
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()