Adding a confirmation message to the ~remindme channel

pull/4/head
sgoudham 5 years ago
parent 77a5e856fa
commit 979f149826

@ -19,6 +19,7 @@ class Reminder(commands.Cog):
# Sleep the thread for the amount of time specified by the user # Sleep the thread for the amount of time specified by the user
await asyncio.sleep(float(time)) await asyncio.sleep(float(time))
# Send message to user's dms # Send message to user's dms
await ctx.send(f"I've reminded you in your dms! {ctx.author.mention}")
await author.send(text) await author.send(text)
# else no time has been given # else no time has been given

Loading…
Cancel
Save