mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
fix(entertainment): golang regexp
yeah, again
This commit is contained in:
@@ -13,7 +13,7 @@ public class Golang : AbstractAnimationReply
|
|||||||
public Golang(CoreContext db, ILogger<Golang> logger, ThreadSafeRandom rng) : base(db, logger, rng) { }
|
public Golang(CoreContext db, ILogger<Golang> logger, ThreadSafeRandom rng) : base(db, logger, rng) { }
|
||||||
|
|
||||||
protected override Regex AnimationMatch =>
|
protected override Regex AnimationMatch =>
|
||||||
new(@"((?<![\w])(го|go)(?![\\w]))|golang|голанг|голенг|гошка|(\\*\\.go)",
|
new(@"((?<![\w])(го|go)(?![\w]))|golang|голанг|голенг|гошка|(\\*\\.go)",
|
||||||
RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
|
RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
|
||||||
protected override string GetAnimationName() => "golang";
|
protected override string GetAnimationName() => "golang";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user