aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/reminders.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-09-24 13:33:20 -0400
committerGravatar GitHub <[email protected]>2019-09-24 13:33:20 -0400
commit0046b8b362f1f892531ddf97fd17cb02e1debc2b (patch)
treeebcc8c52948189abd5da9048cf789507c1cfc48d /bot/cogs/reminders.py
parentPrevent false-positives of the rich embed filter (diff)
parentMerge pull request #443 from Akarys42/master (diff)
Merge branch 'master' into rich-embed-false-positive-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()