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:
@@ -11,7 +11,8 @@ namespace West.Entertainment.Handler.Fun
|
||||
public class Python : AbstractAnimationReply
|
||||
{
|
||||
protected override Regex AnimationMatch =>
|
||||
new("питон|пайтон|python|путхон|питухон|петухон", RegexOptions.IgnoreCase);
|
||||
new("питон|пайтон|python|путхон|питухон|петухон",
|
||||
RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
|
||||
|
||||
protected override string GetAnimationName()
|
||||
=> "python";
|
||||
|
||||
Reference in New Issue
Block a user