From d7cbc88ac5eefd3d0e2b0819868676e55d43e7ab Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Wed, 10 Apr 2024 23:57:30 +0200 Subject: [PATCH] increase gg quota to 10 minutes --- app/TwitchBot/TwitchChatBot.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.2