]> git.localhorst.tv Git - alttp.git/blobdiff - app/TwitchBot/CrewCommand.php
limit chat command to confirmed crew
[alttp.git] / app / TwitchBot / CrewCommand.php
index 2fd04264c3dc22eead831f2aefabbc339eab5517..85edfb29ea7976529b04f9392e54617f5f4aeb03 100644 (file)
@@ -8,7 +8,7 @@ class CrewCommand extends ChatCommand {
                $episode = $this->channel->getCurrentEpisode();
                if (!$episode) return;
                $links = [];
-               foreach ($episode->crew as $crew) {
+               foreach ($episode->confirmedCrew as $crew) {
                        $link = $crew->getStreamLink();
                        if (empty($link)) {
                                $link = $crew->getName();