]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/ChatLog.php
guessing game controls
[alttp.git] / app / Models / ChatLog.php
index f918269073a0fa733e7ea9765a0a57d514b2bca2..1da62d5af27e3debbd967d735cf3f349d4b301ad 100644 (file)
@@ -61,6 +61,7 @@ class ChatLog extends Model {
                        'nightbot',
                        'pokemoncommunitygame',
                        'speedgaming',
+                       'starbase47',
                        'streamelements',
                        'wizebot',
                        'zockerstuebchen',
@@ -94,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';
        }