forked from MarseyWorld/MarseyWorld
prevent malicious use by excluding user subreddits
parent
83b017f76f
commit
c8a3a5a569
|
@ -43,6 +43,7 @@ def get_mentions(cache, queries, reddit_notifs_users=False):
|
|||
continue
|
||||
|
||||
if thing.get('subreddit_subscribers') and thing['subreddit_subscribers'] < 2: continue
|
||||
if thing['subreddit_type'] == 'user': continue
|
||||
if thing['subreddit'] in {'IAmA', 'PokemonGoRaids', 'SubSimulatorGPT2', 'SubSimGPT2Interactive'}: continue
|
||||
if 'bot' in thing['author'].lower(): continue
|
||||
if 'AutoModerator' == thing['author']: continue
|
||||
|
|
Loading…
Reference in New Issue