Skip to content

Commit

Permalink
add: reddit tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Apr 1, 2024
1 parent 5f074cc commit 409fa34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/reddit/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async def main():
count = 0
sub = await reddit.subreddit(subreddit)
async for submission in sub.stream.submissions():
if count < 100: # This removes the 100 historical submissions that SubredditStream pulls.
if count < 99: # This removes the 100 historical submissions that SubredditStream pulls.
count += 1
continue
if submission.link_flair_text == 'Searching':
Expand Down

0 comments on commit 409fa34

Please sign in to comment.