mirror of
https://gitlab.com/Deukhoofd/DeukBot4.git
synced 2025-09-02 23:57:19 +00:00
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 =
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user