Extend regex to new spam format

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-12-21 17:05:55 +01:00
parent e3c1aa9050
commit 3c57135628
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -14,7 +14,7 @@ actions:
attributes:
reason: Chat-Spam "{{ group 1 }}"
match_message: (?i)(.*(?:Buy|Best)?(?:\s*(?:followers|primes|viewers)\s*(?:,|and|)){2,}\s+on.*)
match_message: (?i)((?:.*(?:Buy|Best|all for your stream:?)?(?:\s*(?:follow(?:ers|)|primes|primesubs|viewers?)\s*(?:,|and|)){2,}\s+on.*)|tss\.+ all for your stream on.*)
disable_on_template: '{{ not (botHasBadge "moderator") }}'