forked from MarseyWorld/MarseyWorld
fffff
parent
c831cf382a
commit
6a92d877f5
|
@ -123,9 +123,9 @@ def torture_ap(body, username):
|
|||
LONGPOST_REPLIES = ['Wow, you must be a JP fan.', 'This is one of the worst posts I have EVER seen. Delete it.', "No, don't reply like this, please do another wall of unhinged rant please.", '# 😴😴😴', "Ma'am we've been over this before. You need to stop.", "I've known more coherent downies.", "Your pulitzer's in the mail", "That's great and all, but I asked for my burger without cheese.", 'That degree finally paying off', "That's nice sweaty. Why don't you have a seat in the time out corner with Pizzashill until you calm down, then you can have your Capri Sun.", "All them words won't bring your pa back.", "You had a chance to not be completely worthless, but it looks like you threw it away. At least you're consistent.", 'Some people are able to display their intelligence by going on at length on a subject and never actually saying anything. This ability is most common in trades such as politics, public relations, and law. You have impressed me by being able to best them all, while still coming off as an absolute idiot.', "You can type 10,000 characters and you decided that these were the one's that you wanted.", 'Have you owned the libs yet?', "I don't know what you said, because I've seen another human naked.", 'Impressive. Normally people with such severe developmental disabilities struggle to write much more than a sentence or two. He really has exceded our expectations for the writing portion. Sadly the coherency of his writing, along with his abilities in the social skills and reading portions, are far behind his peers with similar disabilities.', "This is a really long way of saying you don't fuck.", "Sorry ma'am, looks like his delusions have gotten worse. We'll have to admit him.", ':#marseywoah:', 'If only you could put that energy into your relationships', 'Posts like this is why I do Heroine.', 'still unemployed then?', 'K', 'look im gunna have 2 ask u 2 keep ur giant dumps in the toilet not in my replys 😷😷😷', "Mommy is soooo proud of you, sweaty. Let's put this sperg out up on the fridge with all your other failures.", "Good job bobby, here's a star", "That was a mistake. You're about to find out the hard way why.", 'You sat down and wrote all this shit. You could have done so many other things with your life. What happened to your life that made you decide writing novels of bullshit on rdrama.net was the best option?', "I don't have enough spoons to read this shit", "All those words won't bring daddy back.", 'OUT!']
|
||||
|
||||
AGENDAPOSTER_MSG = """Hi @{username},\n\nYour {type} has been automatically removed because you forgot
|
||||
to include `trans lives matter`.\n\nDon't worry, we're here to help! We
|
||||
to include `black lives matter`.\n\nDon't worry, we're here to help! We
|
||||
won't let you post or comment anything that doesn't express your love and acceptance towards
|
||||
the trans community. Feel free to resubmit your {type} with `trans lives matter`
|
||||
the trans community. Feel free to resubmit your {type} with `black lives matter`
|
||||
included. \n\n*This is an automated message; if you need help,
|
||||
you can message us [here](/contact).*"""
|
||||
|
||||
|
|
|
@ -1164,7 +1164,7 @@ def api_unban_comment(c_id, v):
|
|||
comment = g.db.query(Comment).filter_by(id=c_id).one_or_none()
|
||||
if not comment: abort(404)
|
||||
|
||||
if comment.author.agendaposter and 'trans lives matters' not in comment.body.lower():
|
||||
if comment.author.agendaposter and 'black lives matters' not in comment.body.lower():
|
||||
return {"error": "You can't bypass the agendaposter award!"}
|
||||
|
||||
if comment.is_banned:
|
||||
|
|
|
@ -224,7 +224,7 @@ def api_comment(v):
|
|||
|
||||
is_bot = bool(request.headers.get("Authorization"))
|
||||
|
||||
if not is_bot and not v.marseyawarded and 'trans lives matters' not in body.lower() and len(body) > 10:
|
||||
if not is_bot and not v.marseyawarded and 'black lives matters' not in body.lower() and len(body) > 10:
|
||||
now = int(time.time())
|
||||
cutoff = now - 60 * 60 * 24
|
||||
|
||||
|
@ -324,7 +324,7 @@ def api_comment(v):
|
|||
n = Notification(comment_id=c_based.id, user_id=v.id)
|
||||
g.db.add(n)
|
||||
|
||||
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body.lower():
|
||||
if v.agendaposter and not v.marseyawarded and "black lives matter" not in c.body.lower():
|
||||
|
||||
c.is_banned = True
|
||||
c.ban_reason = "AutoJanny"
|
||||
|
@ -609,7 +609,7 @@ def edit_comment(cid, v):
|
|||
body=body,
|
||||
v=v
|
||||
)
|
||||
if 'trans lives matters' not in body.lower():
|
||||
if 'black lives matters' not in body.lower():
|
||||
now = int(time.time())
|
||||
cutoff = now - 60 * 60 * 24
|
||||
|
||||
|
@ -666,7 +666,7 @@ def edit_comment(cid, v):
|
|||
c.body = body[:10000]
|
||||
c.body_html = body_html
|
||||
|
||||
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body.lower():
|
||||
if v.agendaposter and not v.marseyawarded and "black lives matter" not in c.body.lower():
|
||||
|
||||
c.is_banned = True
|
||||
c.ban_reason = "AutoJanny"
|
||||
|
|
|
@ -476,7 +476,7 @@ def edit_post(pid, v):
|
|||
|
||||
p.body_html = body_html
|
||||
|
||||
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in f'{p.body}{p.title}'.lower():
|
||||
if v.agendaposter and not v.marseyawarded and "black lives matter" not in f'{p.body}{p.title}'.lower():
|
||||
|
||||
p.is_banned = True
|
||||
p.ban_reason = "AutoJanny"
|
||||
|
@ -1009,7 +1009,7 @@ def submit_post(v):
|
|||
if new_post.club and not user.paid_dues: continue
|
||||
add_notif(cid, user.id)
|
||||
|
||||
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in f'{new_post.body}{new_post.title}'.lower():
|
||||
if v.agendaposter and not v.marseyawarded and "black lives matter" not in f'{new_post.body}{new_post.title}'.lower():
|
||||
new_post.is_banned = True
|
||||
new_post.ban_reason = "AutoJanny"
|
||||
|
||||
|
|
Loading…
Reference in New Issue