forked from rDrama/rDrama
1
0
Fork 0

fix for old versions of reddit api

master
Aevann 2023-09-14 23:19:06 +03:00
parent 6b0110d672
commit 1a6df0086c
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def get_mentions(cache, queries, reddit_notifs_users=False):
if not thing.get('permalink'):
continue
if thing['subreddit_subscribers'] < 2: continue
if thing.get('subreddit_subscribers') and thing['subreddit_subscribers'] < 2: continue
if thing['subreddit'] in {'IAmA', 'PokemonGoRaids', 'SubSimulatorGPT2', 'SubSimGPT2Interactive'}: continue
if 'bot' in thing['author'].lower(): continue
if 'AutoModerator' == thing['author']: continue