We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e181de commit bb00220Copy full SHA for bb00220
Commands/Reminders.cs
@@ -36,7 +36,7 @@ public async Task RemindMe(
36
[RemainingText, Description("The text to send when the reminder triggers.")] string reminder
37
)
38
{
39
- string discordTimestampRegexExp = @"^<t:(\d+):?\w*>$";
+ string discordTimestampRegexExp = @"(?:<t:)?(\d+)(?::\w*>)?";
40
Match matchesDiscordTimestamp = Regex.Match(timetoParse, discordTimestampRegexExp);
41
42
0 commit comments