X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FChatLog.php;h=1da62d5af27e3debbd967d735cf3f349d4b301ad;hb=c85a9e1de80d4a68e9b1b730e60906475682455b;hp=1f0663ccac02d6bcbe5950156e2198b4b6ee594f;hpb=ff4c89c3dd1a92697d0f7dbd048d2e91a1a45595;p=alttp.git diff --git a/app/Models/ChatLog.php b/app/Models/ChatLog.php index 1f0663c..1da62d5 100644 --- a/app/Models/ChatLog.php +++ b/app/Models/ChatLog.php @@ -95,6 +95,9 @@ class ChatLog extends Model { if (Str::contains($rawText, ['hype'])) { return 'hype'; } + if (Str::startsWith($rawText, 'o7') || Str::endsWith($rawText, 'o7') || Str::contains($rawText, 'salut')) { + return 'o7'; + } return 'unclassified'; }