From: Daniel Karbach Date: Fri, 11 Jul 2025 13:18:42 +0000 (+0200) Subject: reverse the flow of time X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;h=7b2bfd454f87e614a03dc3de723201a7d504b584;p=alttp.git reverse the flow of time --- diff --git a/app/Console/Commands/DiscordEpisodeSubscriptionsCommand.php b/app/Console/Commands/DiscordEpisodeSubscriptionsCommand.php index c663163..dce4105 100644 --- a/app/Console/Commands/DiscordEpisodeSubscriptionsCommand.php +++ b/app/Console/Commands/DiscordEpisodeSubscriptionsCommand.php @@ -93,7 +93,7 @@ class DiscordEpisodeSubscriptionsCommand extends Command } } $memo = $this->getMemo($guild, $episode); - if ((is_null($memo->synced_at) && $episode->start < now()) || $memo->synced_at < $mtime) { + if ((is_null($memo->synced_at) && $episode->start > now()) || $memo->synced_at < $mtime) { $this->line('pushing '.$episode->id.' '.$episode->getScheduledEventName()); DiscordBotCommand::episodeEvent($guild, $episode); }