Skip to content

Commit

Permalink
+t.me filter
Browse files Browse the repository at this point in the history
  • Loading branch information
RheaAyase committed Feb 15, 2025
1 parent 2d487cc commit 91efc0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Entities/ServerConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ public class ServerConfig
[Column("antispam_links_twitter_ban")]
public bool AntispamLinksTwitterBan{ get; set; } = false;

[Column("antispam_links_telegram")]
public bool AntispamLinksTelegram{ get; set; } = false;

[Column("antispam_links_telegram_ban")]
public bool AntispamLinksTelegramBan{ get; set; } = false;

[Column("antispam_tolerance")]
public Int64 AntispamTolerance{ get; set; } = 2;

Expand Down
1 change: 1 addition & 0 deletions Valkyrja-client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public bool IsConnected{
public Regex RegexImgurOrGifLinks;
public Regex RegexChanLinks;
public Regex RegexTwitterLinks;
public Regex RegexTelegramLinks;

public readonly ConcurrentDictionary<guid, Server> Servers = new ConcurrentDictionary<guid, Server>();
public readonly Dictionary<string, Command> Commands = new Dictionary<string, Command>();
Expand Down

0 comments on commit 91efc0a

Please sign in to comment.