X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FTwitchChatBot.php;fp=app%2FTwitchBot%2FTwitchChatBot.php;h=420e93704490fe804e037697fb070883547b3846;hb=d7cbc88ac5eefd3d0e2b0819868676e55d43e7ab;hp=90a718d25b36875591e44b7ea9baf8d33fba69f6;hpb=7d1ef8619d7513184340f73e99efa20481b86d75;p=alttp.git diff --git a/app/TwitchBot/TwitchChatBot.php b/app/TwitchBot/TwitchChatBot.php index 90a718d..420e937 100644 --- a/app/TwitchBot/TwitchChatBot.php +++ b/app/TwitchBot/TwitchChatBot.php @@ -145,7 +145,7 @@ class TwitchChatBot extends TwitchBot { 'o7' => 2, ]; $time_quotas = [ - 'gg' => 300, + 'gg' => 600, 'gl' => 900, 'hi' => 60, 'hype' => 60, @@ -155,7 +155,6 @@ class TwitchChatBot extends TwitchBot { 'o7' => 300, ]; foreach ($classifications as $classification => $count) { - if ($classification == $last) continue; if (!isset($count_quotas[$classification]) || $count < $count_quotas[$classification]) continue; if (!isset($time_quotas[$classification]) || $this->getTimeSinceSpecial($channel, $classification) < $time_quotas[$classification]) continue; $this->tagChannelSpecialSent($channel, $classification);