]> git.localhorst.tv Git - alttp.git/blobdiff - app/TwitchBot/TwitchChatBot.php
more classification
[alttp.git] / app / TwitchBot / TwitchChatBot.php
index abc1b4518e2b7f528e289643551109c4b135a63a..479a9ab5eef2ebd5e793c2421e5959e9f4f972bc 100644 (file)
@@ -140,9 +140,11 @@ class TwitchChatBot extends TwitchBot {
                        'hi' => 2,
                        'hype' => 2,
                        'lol' => 2,
+                       'love' => 2,
                        'number' => 2,
                        'pog' => 2,
                        'o7' => 2,
+                       'wtf' => 2,
                ];
                $time_quotas = [
                        'gg' => 600,
@@ -150,9 +152,11 @@ class TwitchChatBot extends TwitchBot {
                        'hi' => 60,
                        'hype' => 60,
                        'lol' => 60,
+                       'love' => 60,
                        'number' => 300,
                        'pog' => 60,
                        'o7' => 300,
+                       'wtf' => 60,
                ];
                foreach ($classifications as $classification => $count) {
                        if ($classification == $last) continue;
@@ -191,6 +195,9 @@ class TwitchChatBot extends TwitchBot {
        }
 
        private function randomLaughter(Channel $channel) {
+               if (!random_int(0, 2)) {
+                       return $channel->randomOfClass('lol');
+               }
                return Arr::random([
                        ':tf:',
                        '4Head',
@@ -201,7 +208,6 @@ class TwitchChatBot extends TwitchBot {
                        'GunRun',
                        'heh',
                        'Hhhehehe',
-                       'HypeLUL',
                        'Jebaited',
                        'Jebasted',
                        'KEKW',
@@ -220,7 +226,6 @@ class TwitchChatBot extends TwitchBot {
                        'SUBprise',
                        'xD',
                        'YouDontSay',
-                       $channel->randomOfClass('lol'),
                ]);
        }