From e77f85edc63a7e98fcc326585c9a059f83c39465 Mon Sep 17 00:00:00 2001
From: Toastie <toastie@toastiet0ast.com>
Date: Sat, 15 Mar 2025 11:32:22 +1300
Subject: [PATCH] .remind is now way prettier when created

---
 .../Modules/Utility/Remind/RemindCommands.cs  | 25 +++++++++++--------
 .../strings/responses/responses.en-US.json    |  5 +++-
 2 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/src/EllieBot/Modules/Utility/Remind/RemindCommands.cs b/src/EllieBot/Modules/Utility/Remind/RemindCommands.cs
index 035f20f..7ce334d 100644
--- a/src/EllieBot/Modules/Utility/Remind/RemindCommands.cs
+++ b/src/EllieBot/Modules/Utility/Remind/RemindCommands.cs
@@ -98,10 +98,10 @@ public partial class Utility
                 return;
 
             var embed = CreateEmbed()
-                        .WithOkColor()
-                        .WithTitle(GetText(guildId is not null
-                            ? strs.reminder_server_list
-                            : strs.reminder_list));
+                .WithOkColor()
+                .WithTitle(GetText(guildId is not null
+                    ? strs.reminder_server_list
+                    : strs.reminder_list));
 
             List<Reminder> rems;
             if (guildId is { } gid)
@@ -201,13 +201,18 @@ public partial class Utility
                 message,
                 ReminderType.User);
 
+            var eb = CreateEmbed()
+                .WithOkColor()
+                .WithAuthor(ctx.User)
+                .WithTitle(GetText(strs.reminder_created))
+                .AddField(GetText(strs.who_where), !isPrivate ? $"<#{targetId}>" : ctx.User.Username, true)
+                .AddField(GetText(strs.when), TimestampTag.FromDateTime(time, TimestampTagStyles.Relative), true)
+                .AddField(GetText(strs.date2), TimestampTag.FromDateTime(time, TimestampTagStyles.ShortDateTime), true)
+                .WithDescription(message);
+
             await Response()
-                  .Confirm($"\u23f0 {GetText(strs.remind2(
-                      Format.Bold(!isPrivate ? $"<#{targetId}>" : ctx.User.Username),
-                      Format.Bold(message),
-                      TimestampTag.FromDateTime(DateTime.UtcNow.Add(ts), TimestampTagStyles.Relative),
-                      TimestampTag.FormatFromDateTime(time, TimestampTagStyles.ShortDateTime)))}")
-                  .SendAsync();
+                .Embed(eb)
+                .SendAsync();
 
             return true;
         }
diff --git a/src/EllieBot/strings/responses/responses.en-US.json b/src/EllieBot/strings/responses/responses.en-US.json
index 2a83a9d..240a961 100644
--- a/src/EllieBot/strings/responses/responses.en-US.json
+++ b/src/EllieBot/strings/responses/responses.en-US.json
@@ -621,7 +621,10 @@
   "quote_deleted": "Quote #{0} deleted.",
   "quote_edited": "Quote Edited",
   "region": "Region",
-  "remind2": "I will remind {0} to {1} {2} ({3})",
+  "reminder_created": "Reminder Created",
+  "who_where": "Who / Where",
+  "when": "When",
+  "date2": "Date",
   "remind_timely": "I will remind you about your timely reward {0}",
   "timely_button": "Click the button to claim your timely reward.",
   "remind_invalid": "Not a valid remind format. Remind must have a target, timer and a reason. Check the command list.",