fix regex issue with reminders for other people
This commit is contained in:
parent
d69b90bbd1
commit
dfde9893e7
|
@ -10,7 +10,7 @@ namespace DeukBot4.MessageHandlers
|
||||||
{
|
{
|
||||||
private static Regex ReminderMatcher =
|
private static Regex ReminderMatcher =
|
||||||
new Regex(
|
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);
|
RegexOptions.IgnoreCase);
|
||||||
|
|
||||||
public static async Task HandleReminder(SocketMessage message)
|
public static async Task HandleReminder(SocketMessage message)
|
||||||
|
|
Loading…
Reference in New Issue