]> git.localhorst.tv Git - alttp.git/blobdiff - app/TwitchBot/CrewCommand.php
fix reevaluate command class name
[alttp.git] / app / TwitchBot / CrewCommand.php
index 2fd04264c3dc22eead831f2aefabbc339eab5517..2c162e93abb08552dff4d1da09f9070b1a7d09f6 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->confirmedCrewOfChannel($this->channel)->get() as $crew) {
                        $link = $crew->getStreamLink();
                        if (empty($link)) {
                                $link = $crew->getName();