feat: Update message for sending a public reminder
All checks were successful
Build Docker / Build Docker (push) Successful in 22s
All checks were successful
Build Docker / Build Docker (push) Successful in 22s
This commit is contained in:
parent
cd3a61f542
commit
4ce47fc74e
3
bot.py
3
bot.py
@ -472,7 +472,8 @@ async def remindme(ctx, when: str, reminder: str, public: bool = False):
|
|||||||
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:
|
||||||
store_reminder(ctx.user.id, reminder_time, reminder, True, ctx.channel.id)
|
store_reminder(ctx.user.id, reminder_time, reminder, True, ctx.channel.id)
|
||||||
await ctx.response.send_message("I've set a reminder for you in " + when + ".\n" + reminder)
|
# await ctx.response.send_message("I've set a reminder for you in " + when + ".\n" + reminder)
|
||||||
|
await ctx.response.send_message(embed=tools.embed("Reminder", "I'll send you a reminder in " + when + ".\nReason: " + reminder + "\n\nI'll send you a DM and also post a public message in <#"+str(ctx.channel.id)+">"))
|
||||||
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