1
0
mirror of https://gitlab.com/Deukhoofd/DeukBot4.git synced 2025-10-27 17:00:05 +00:00

fix regex issue with reminders for other people

This commit is contained in:
2018-08-13 19:34:39 +02:00
parent d69b90bbd1
commit dfde9893e7

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)