From bb00220ee2eca56de6af659c5b79f5009b2efaee Mon Sep 17 00:00:00 2001 From: Stratos Date: Mon, 4 Nov 2024 23:56:03 +0200 Subject: [PATCH] Feat: Accept multiple timestamp formats in the remindme cmd (#240) --- Commands/Reminders.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Reminders.cs b/Commands/Reminders.cs index 8e7c31a..fba9d24 100644 --- a/Commands/Reminders.cs +++ b/Commands/Reminders.cs @@ -36,7 +36,7 @@ public async Task RemindMe( [RemainingText, Description("The text to send when the reminder triggers.")] string reminder ) { - string discordTimestampRegexExp = @"^$"; + string discordTimestampRegexExp = @"(?:)?"; Match matchesDiscordTimestamp = Regex.Match(timetoParse, discordTimestampRegexExp);