mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Yet another attempt to fix case insensitive matching.
This commit is contained in:
@@ -14,7 +14,7 @@ namespace West.Entertainment.Handler.Fun
|
||||
public Bayan(CoreContext db) : base(db) { }
|
||||
|
||||
protected override Regex AnimationMatch
|
||||
=> new("^баян$", RegexOptions.IgnoreCase);
|
||||
=> new("^баян$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
|
||||
|
||||
protected override string GetAnimationName()
|
||||
=> "bayan";
|
||||
|
||||
Reference in New Issue
Block a user