]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/ChatLog.php
salute classification
[alttp.git] / app / Models / ChatLog.php
index 1f0663ccac02d6bcbe5950156e2198b4b6ee594f..1da62d5af27e3debbd967d735cf3f349d4b301ad 100644 (file)
@@ -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';
        }