X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FChatLog.php;h=1da62d5af27e3debbd967d735cf3f349d4b301ad;hb=c66d9d3c5eda563842c683827da1abf445b65483;hp=f918269073a0fa733e7ea9765a0a57d514b2bca2;hpb=50ec833111c8a11711a98e642321c8dad25b01ae;p=alttp.git diff --git a/app/Models/ChatLog.php b/app/Models/ChatLog.php index f918269..1da62d5 100644 --- a/app/Models/ChatLog.php +++ b/app/Models/ChatLog.php @@ -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'; }