aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/reminders.py
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-09-25 03:07:14 +1000
committerGravatar GitHub <[email protected]>2019-09-25 03:07:14 +1000
commit362699c50a515e0390f9d384d3d36b58c2783d9f (patch)
tree1761af6a1590a2c168ac8d640690818169cee15b /bot/cogs/reminders.py
parentMerge pull request #449 from python-discord/duration-converter-fix (diff)
parentRemove unnecessary sudo for pipenv install. (diff)
Docker Build & CI Refinements (#444)
Docker Build & CI Refinements Co-authored-by: S. Co1 <[email protected]>
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()