aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/reminders.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-09-24 15:14:07 -0400
committerGravatar GitHub <[email protected]>2019-09-24 15:14:07 -0400
commit54d4f7105833860723fe5a7aea7e38e7418e82e0 (patch)
treeca4fbdca201e915791adcadb4648f98494754048 /bot/cogs/reminders.py
parentRemove repeat logic for off-topic-name api call (diff)
parentMerge pull request #451 from python-discord/all-the-shields (diff)
Merge branch 'master' into ot-fix
Diffstat (limited to '')
-rw-r--r--bot/cogs/reminders.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/reminders.py b/bot/cogs/reminders.py
index c37abf21e..6e91d2c06 100644
--- a/bot/cogs/reminders.py
+++ b/bot/cogs/reminders.py
@@ -146,7 +146,7 @@ class Reminders(Scheduler, Cog):
active_reminders = await self.bot.api_client.get(
'bot/reminders',
params={
- 'user__id': str(ctx.author.id)
+ 'author__id': str(ctx.author.id)
}
)
@@ -184,7 +184,7 @@ class Reminders(Scheduler, Cog):
# Get all the user's reminders from the database.
data = await self.bot.api_client.get(
'bot/reminders',
- params={'user__id': str(ctx.author.id)}
+ params={'author__id': str(ctx.author.id)}
)
now = datetime.utcnow()