X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FCrewCommand.php;h=2c162e93abb08552dff4d1da09f9070b1a7d09f6;hb=HEAD;hp=85edfb29ea7976529b04f9392e54617f5f4aeb03;hpb=4d1002bb1c326adfa751666e843d8af686069e13;p=alttp.git diff --git a/app/TwitchBot/CrewCommand.php b/app/TwitchBot/CrewCommand.php index 85edfb2..2c162e9 100644 --- a/app/TwitchBot/CrewCommand.php +++ b/app/TwitchBot/CrewCommand.php @@ -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();