Skip to content

Commit

Permalink
Fix regex again
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Sep 11, 2024
1 parent e74d958 commit afcf392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/MessageEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public static async Task ThrowMessageException(Exception ex, DiscordMessage mess

[GeneratedRegex("[0-9]{5,}")]
private static partial Regex IdPattern();
[GeneratedRegex(".*[0-9]+ ((?:.|\n)+)")]
[GeneratedRegex(".*?[0-9]+((?:.|\n)*)")]
private static partial Regex ContentPattern();
[GeneratedRegex("Guild ([0-9]+);.*$")]
private static partial Regex MutualServerIdPattern();
Expand Down

0 comments on commit afcf392

Please sign in to comment.