Watchful1 / UpdateMeBot

u/UpdateMeBot on reddit
37 stars 4 forks source link

Update the timestamp to the newest post, rather than the current time #81

Closed Watchful1 closed 3 years ago

Watchful1 commented 6 years ago

Currently, we check the subreddit and update the timestamp even if we don't find anything. So if a post is deleted by automoderator and then approved a few minutes later, we never see it. If we instead put the timestamp of a second after a post when we find one, then don't update it until we next find a post, if a post reappears when it is several minutes old, there's a chance we'll see it.