Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Sep 11, 2024
1 parent 67b04ba commit ec71dbb
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]+ (.*)")]
[GeneratedRegex(".*[0-9]+ ((?:.|\\n)+)")]
private static partial Regex ContentPattern();
[GeneratedRegex("Guild ([0-9]+);.*$")]
private static partial Regex MutualServerIdPattern();
Expand Down

0 comments on commit ec71dbb

Please sign in to comment.