]> git.localhorst.tv Git - alttp.git/commitdiff
reverse the flow of time
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 11 Jul 2025 13:18:42 +0000 (15:18 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 11 Jul 2025 13:18:42 +0000 (15:18 +0200)
app/Console/Commands/DiscordEpisodeSubscriptionsCommand.php

index c6631630c6431bdd00afb7a3de9b5e4b6aab2914..dce4105216dab96986291e63a8b517bc45377d34 100644 (file)
@@ -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);
                }