]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/ChatLog.php
add known bot
[alttp.git] / app / Models / ChatLog.php
index cad1bfead6668070b239e5b483f1d3fe199f5caf..f1777b804a1cb26c80cdfe8ada9ddbc07a3d7d30 100644 (file)
@@ -77,7 +77,7 @@ class ChatLog extends Model {
                        return;
                }
 
-               if ($this->command == 'PRIVMSG') {
+               if ($this->command == 'PRIVMSG' || $this->command == 'WHISPER') {
                        if (static::isKnownBot($this->nick)) {
                                $this->type = 'bot';
                        } else if (substr($this->params[0], 0, 1) == '#') {
@@ -102,6 +102,7 @@ class ChatLog extends Model {
                return in_array(strtolower($nick), [
                        'a_n_i_v',
                        'birrellthesquirrel',
+                       'creatisbot',
                        'funtoon',
                        'nidbot2000',
                        'nightbot',