From: Daniel Karbach Date: Wed, 10 Apr 2024 21:57:30 +0000 (+0200) Subject: increase gg quota to 10 minutes X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=d7cbc88ac5eefd3d0e2b0819868676e55d43e7ab;p=alttp.git increase gg quota to 10 minutes --- 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);