From d2aff3979e3f9358c7bc9e79bf993aa9a4d48c46 Mon Sep 17 00:00:00 2001 From: srqc <98553181+2srqc@users.noreply.github.com> Date: Sat, 1 Apr 2023 19:33:10 -0400 Subject: [PATCH] !remind uses time stamps --- backend/src/plugins/Reminders/commands/RemindCmd.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/src/plugins/Reminders/commands/RemindCmd.ts b/backend/src/plugins/Reminders/commands/RemindCmd.ts index c4655771..f9718b0b 100644 --- a/backend/src/plugins/Reminders/commands/RemindCmd.ts +++ b/backend/src/plugins/Reminders/commands/RemindCmd.ts @@ -63,14 +63,11 @@ export const RemindCmd = remindersCmd({ const msUntilReminder = reminderTime.diff(now); const timeUntilReminder = humanizeDuration(msUntilReminder, { largest: 2, round: true }); - const prettyReminderTime = (await timeAndDate.inMemberTz(msg.author.id, reminderTime)).format( - pluginData.getPlugin(TimeAndDatePlugin).getDateFormat("pretty_datetime"), - ); sendSuccessMessage( pluginData, msg.channel, - `I will remind you in **${timeUntilReminder}** at **${prettyReminderTime}**`, + `I will remind you in **${timeUntilReminder}** at `, ); }, });