]> git.localhorst.tv Git - alttp.git/commitdiff
more spam
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 3 Jun 2024 13:38:56 +0000 (15:38 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 3 Jun 2024 13:38:56 +0000 (15:38 +0200)
app/TwitchBot/TokenizedMessage.php
tests/Unit/TwitchBot/TokenizedMessageTest.php

index f84527c5012ffd1e538163f5599797f1d40a5f9b..b460020a3e2e2a42a5683cf7ba78c41f1e01792b 100644 (file)
@@ -265,6 +265,7 @@ class TokenizedMessage {
                        'isnowlivestreaming',
                        'stürmtdenladenmit',
                        'thanksfortheraid',
                        'isnowlivestreaming',
                        'stürmtdenladenmit',
                        'thanksfortheraid',
+                       'verschwindetfürneweileindenlurk',
                        'vielendankfürdenraid',
                        'willkommenaufstarbase47',
                ])) {
                        'vielendankfürdenraid',
                        'willkommenaufstarbase47',
                ])) {
index 1380417530ebe546cad63378aa2a41f04b13c587..be5da8d97a6bc7dded646a209384b3c7a9e2c825 100644 (file)
@@ -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('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());
 
                $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());