aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/reminders.py
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-02-23 15:42:20 -0800
committerGravatar GitHub <[email protected]>2020-02-23 15:42:20 -0800
commitc81a4d401ea434e98b0a1ece51d3d10f1a3ad226 (patch)
tree1fe8caf0ae751cfe94a71fcf02ffbbfda5bd8812 /bot/cogs/reminders.py
parentMerge pull request #749 from python-discord/reminder-enhancements (diff)
parentMerge remote-tracking branch 'origin/master' into bug/backend/b704/ready-miss... (diff)
Merge pull request #711 from python-discord/bug/backend/b704/ready-missing-cache
Prevent the role syncer from wiping the database table during API latency
Diffstat (limited to '')
-rw-r--r--bot/cogs/reminders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/reminders.py b/bot/cogs/reminders.py
index 42229123b..a642cbfdb 100644
--- a/bot/cogs/reminders.py
+++ b/bot/cogs/reminders.py
@@ -36,7 +36,7 @@ class Reminders(Scheduler, Cog):
async def reschedule_reminders(self) -> None:
"""Get all current reminders from the API and reschedule them."""
- await self.bot.wait_until_ready()
+ await self.bot.wait_until_guild_available()
response = await self.bot.api_client.get(
'bot/reminders',
params={'active': 'true'}