X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FTwitchAppBot.php;fp=app%2FTwitchBot%2FTwitchAppBot.php;h=13499f5d46b38d5913e3994e43ce09dc43250a15;hb=e5192dadab765ecf0cdb877e0497293e0c9f1e45;hp=04d03e609cb6ecd007df3927d467e25de89b249f;hpb=73c29bf37f10df401d87d14cc26999f88ce77379;p=alttp.git diff --git a/app/TwitchBot/TwitchAppBot.php b/app/TwitchBot/TwitchAppBot.php index 04d03e6..13499f5 100644 --- a/app/TwitchBot/TwitchAppBot.php +++ b/app/TwitchBot/TwitchAppBot.php @@ -24,7 +24,7 @@ class TwitchAppBot extends TwitchBot { if ($text[0] == '!') { $this->handleChatCommand($channel, $msg); } else if ( - $channel->hasActiveGuessing() && + $channel->isAcceptingGuesses() && !empty($msg->tags['user-id']) && !empty($msg->tags['display-name'] && $channel->isValidGuess($text))