fix error in get_mentions

pull/202/head
Aevann 2023-09-18 14:47:06 +03:00
parent 7bb3959e85
commit d314506fbf
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +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.get('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