fix regex issue with reminders for other people

This commit is contained in:
Deukhoofd committed 2018-08-13 19:34:39 +02:00
1 parent d69b90bbd1
commit dfde9893e7
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ namespace DeukBot4.MessageHandlers
{
private static Regex ReminderMatcher =
new Regex(
@".*(remind\s*((?<recipient>me)|<@!*(?<recipient2>\d*)>)\s*to)(?<action>.*)(in\s+)(?<time>.*)",
@".*(remind\s*((?<recipient>me)|<@!*(?<recipient>\d*)>)\s*to)(?<action>.*)(in\s+)(?<time>.*)",
RegexOptions.IgnoreCase);
public static async Task HandleReminder(SocketMessage message)