remotes/1693045480750635534/spooky-22
Aevann1 2021-11-03 18:15:06 +02:00
parent 6e4385396c
commit b27d18b4d0
2 changed files with 8 additions and 8 deletions

View File

@ -321,7 +321,7 @@ def api_comment(v):
if "rama" in request.host and "ivermectin" in c.body.lower():
c.is_banned = True
c.ban_reason = "ToS Violation"
c.ban_reason = "AutoJanny"
g.db.add(c)
@ -354,7 +354,7 @@ def api_comment(v):
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body_html.lower():
c.is_banned = True
c.ban_reason = "ToS Violation"
c.ban_reason = "AutoJanny"
g.db.add(c)
@ -692,7 +692,7 @@ def edit_comment(cid, v):
if "rama" in request.host and "ivermectin" in c.body_html.lower():
c.is_banned = True
c.ban_reason = "ToS Violation"
c.ban_reason = "AutoJanny"
g.db.add(c)
@ -726,7 +726,7 @@ def edit_comment(cid, v):
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body_html.lower():
c.is_banned = True
c.ban_reason = "ToS Violation"
c.ban_reason = "AutoJanny"
g.db.add(c)

View File

@ -256,7 +256,7 @@ def edit_post(pid, v):
if "rama" in request.host and "ivermectin" in body_html.lower():
p.is_banned = True
p.ban_reason = "ToS Violation"
p.ban_reason = "AutoJanny"
g.db.add(p)
@ -290,7 +290,7 @@ def edit_post(pid, v):
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in body_html.lower():
p.is_banned = True
p.ban_reason = "ToS Violation"
p.ban_reason = "AutoJanny"
g.db.add(p)
@ -793,7 +793,7 @@ def submit_post(v):
if "rama" in request.host and "ivermectin" in new_post.body_html.lower():
new_post.is_banned = True
new_post.ban_reason = "ToS Violation"
new_post.ban_reason = "AutoJanny"
g.db.add(new_post)
@ -828,7 +828,7 @@ def submit_post(v):
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in new_post.body_html.lower():
new_post.is_banned = True
new_post.ban_reason = "ToS Violation"
new_post.ban_reason = "AutoJanny"
g.db.add(new_post)