dont give offsite notifs from redditors with "Bot" in the name

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-11 19:18:38 +02:00
parent 61f0fd265d
commit d5ab813499
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ def get_mentions(queries):
except: break
for i in data:
if 'bot' in i['author'].lower(): continue
if kind == 'comment':
body = i["body"].replace('>', '> ')
text = f'<blockquote><p>{body}</p></blockquote>'