X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FChatLog.php;h=792e9e7a9b59c3aa212edf5b59786c7dfec6b6ae;hb=d6d76247ada28bee99ff5f0a91706ce7edb68a7f;hp=79eab97debff1a56a6ee081efbdf59951f22a5d9;hpb=1d3c8c6a96fc45d839f0e3719baca790059d189f;p=alttp.git diff --git a/app/Models/ChatLog.php b/app/Models/ChatLog.php index 79eab97..792e9e7 100644 --- a/app/Models/ChatLog.php +++ b/app/Models/ChatLog.php @@ -86,7 +86,7 @@ class ChatLog extends Model { if (Str::contains($rawText, ['haha', 'hehe', 'hihi', 'kekw', 'lol', 'lul', 'xd'])) { return 'lol'; } - if (Str::startsWith($rawText, ['ahoi', 'hallo', 'hello', 'hi', 'huhu']) || Str::endsWith($rawText, ['hi', 'wave'])) { + if (Str::startsWith($rawText, ['ahoi', 'hallo', 'hello', 'hi ', 'huhu']) || Str::endsWith($rawText, ['hi', 'wave'])) { return 'hi'; } if (Str::contains($rawText, ['pog', 'wow'])) {