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