fix: typo of author instead of user
All checks were successful
Build Docker / Build Docker (push) Successful in 17s
All checks were successful
Build Docker / Build Docker (push) Successful in 17s
This commit is contained in:
parent
7085f1ac1a
commit
e0fd085aab
2
bot.py
2
bot.py
@ -463,7 +463,7 @@ async def remindme(ctx, when: str, reminder: str):
|
|||||||
if time_delta is not None:
|
if time_delta is not None:
|
||||||
# Schedule the reminder
|
# Schedule the reminder
|
||||||
reminder_time = datetime.datetime.now() + time_delta
|
reminder_time = datetime.datetime.now() + time_delta
|
||||||
store_reminder(ctx.author.id, reminder_time, reminder)
|
store_reminder(ctx.user.id, reminder_time, reminder)
|
||||||
await ctx.response.send_message("I've set a reminder for you in " + when + ".\n" + reminder,ephemeral=True)
|
await ctx.response.send_message("I've set a reminder for you in " + when + ".\n" + reminder,ephemeral=True)
|
||||||
else:
|
else:
|
||||||
await ctx.response.send_message("Invalid time format. Please use something like `1d 3h` or `4hr`.",ephemeral=True)
|
await ctx.response.send_message("Invalid time format. Please use something like `1d 3h` or `4hr`.",ephemeral=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user