Skip to content

Commit

Permalink
fix: add ty and tysm to the karma regex
Browse files Browse the repository at this point in the history
  • Loading branch information
realstealthninja authored and RheaAyase committed Aug 18, 2024
1 parent cbbf229 commit 43b917e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Karma.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Karma: IModule
private const string KarmaDisabledString = "Karma is disabled on this server.";

private ValkyrjaClient Client;
private readonly Regex RegexKarma = new Regex(".*(?<!\\\\)(thank(?!sgiving)|thx|ʞuɐɥʇ|danke|vielen dank|gracias|merci(?!al)|grazie|arigato|dziękuję|dziekuje|obrigad).*", RegexOptions.Compiled | RegexOptions.IgnoreCase);
private readonly Regex RegexKarma = new Regex(".*(?<!\\\\)(thank(?!sgiving)|thx|ʞuɐɥʇ|danke|vielen dank|gracias|merci(?!al)|grazie|arigato|dziękuję|dziekuje|obrigad|tysm|ty).*", RegexOptions.Compiled | RegexOptions.IgnoreCase);


public Func<Exception, string, guid, Task> HandleException{ get; set; }
Expand Down

0 comments on commit 43b917e

Please sign in to comment.