forked from rDrama/rDrama
dont give offsite notifs from redditors with "Bot" in the name
parent
61f0fd265d
commit
d5ab813499
|
@ -42,6 +42,8 @@ def get_mentions(queries):
|
||||||
except: break
|
except: break
|
||||||
|
|
||||||
for i in data:
|
for i in data:
|
||||||
|
if 'bot' in i['author'].lower(): continue
|
||||||
|
|
||||||
if kind == 'comment':
|
if kind == 'comment':
|
||||||
body = i["body"].replace('>', '> ')
|
body = i["body"].replace('>', '> ')
|
||||||
text = f'<blockquote><p>{body}</p></blockquote>'
|
text = f'<blockquote><p>{body}</p></blockquote>'
|
||||||
|
|
Loading…
Reference in New Issue