]> git.localhorst.tv Git - alttp.git/commitdiff
slightly delay response
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 24 Jul 2025 21:06:13 +0000 (23:06 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 24 Jul 2025 21:06:13 +0000 (23:06 +0200)
app/TwitchBot/TwitchChatBot.php

index 7b505ed8c48341d61d9733934c56b33d3ac3c0ea..9ad2385ee69e1ce880da5736783a902a0f324f8e 100644 (file)
@@ -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);