From: Daniel Karbach Date: Thu, 24 Jul 2025 21:06:13 +0000 (+0200) Subject: slightly delay response X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;h=78cfc50c9e41fee7cb3c426da2176db374a630d0;p=alttp.git slightly delay response --- diff --git a/app/TwitchBot/TwitchChatBot.php b/app/TwitchBot/TwitchChatBot.php index 7b505ed..9ad2385 100644 --- a/app/TwitchBot/TwitchChatBot.php +++ b/app/TwitchBot/TwitchChatBot.php @@ -336,7 +336,7 @@ class TwitchChatBot extends TwitchBot { if ($this->isDirectedAtMe($msg->getText()) && $this->shouldRespond($channel)) { $this->noteChannelMessage($channel, $tokenized); $this->notes[$channel->id]['wait_msgs'] = 0; - $this->notes[$channel->id]['wait_time'] = 0; + $this->notes[$channel->id]['wait_time'] = 1; $response = $tokenized->getResponseCategory(); if ($response) { $this->queueSpecial($channel, $response);