feat: Update message for sending a public reminder
All checks were successful
Build Docker / Build Docker (push) Successful in 22s

This commit is contained in:
Nathan Woodburn 2024-02-08 11:27:32 +11:00
parent cd3a61f542
commit 4ce47fc74e
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

3
bot.py
View File

@ -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)