From: Daniel Karbach Date: Mon, 3 Jun 2024 13:38:56 +0000 (+0200) Subject: more spam X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=911c3644cd3a7203bf39e84b686d8fbeb07d9fa1;p=alttp.git more spam --- diff --git a/app/TwitchBot/TokenizedMessage.php b/app/TwitchBot/TokenizedMessage.php index f84527c..b460020 100644 --- a/app/TwitchBot/TokenizedMessage.php +++ b/app/TwitchBot/TokenizedMessage.php @@ -265,6 +265,7 @@ class TokenizedMessage { 'isnowlivestreaming', 'stürmtdenladenmit', 'thanksfortheraid', + 'verschwindetfürneweileindenlurk', 'vielendankfürdenraid', 'willkommenaufstarbase47', ])) { diff --git a/tests/Unit/TwitchBot/TokenizedMessageTest.php b/tests/Unit/TwitchBot/TokenizedMessageTest.php index 1380417..be5da8d 100644 --- a/tests/Unit/TwitchBot/TokenizedMessageTest.php +++ b/tests/Unit/TwitchBot/TokenizedMessageTest.php @@ -88,6 +88,7 @@ class TokenizedMessageTest extends TestCase { $this->assertTrue(TokenizedMessage::fromString('hello would you like some followers?')->isSpammy()); $this->assertTrue(TokenizedMessage::fromString('get view ers for free')->isSpammy()); + $this->assertTrue(TokenizedMessage::fromString('yayklaygaming verschwindet für \'ne Weile in den Lurk. Cool, dass Du vorbeigeschaut hast xallggCheers PogChamp')->isSpammy()); $this->assertTrue(TokenizedMessage::fromString('XallGG is now live! Streaming The Legend of Zelda: A Link to the Past: Casual Boots Seed zum Spaß/Practice')->isSpammy()); $this->assertTrue(TokenizedMessage::fromString('also bitte, horstie')->isSpammy());