This commit is contained in:
Aevann1 2021-10-06 23:33:40 +02:00
parent 73b5f05eae
commit d3c325dce0
7 changed files with 12 additions and 0 deletions

View file

@ -20,6 +20,18 @@ from files.helpers.discord import add_role
SITE_NAME = environ.get("SITE_NAME", "").strip()
@app.post("/wtf")
@admin_level_required(6)
def wtf(v):
reason = "Did you ever hear the tragedy of Darth Plagueis The Wise? I thought not. Its not a story the Jedi would tell you. Its a Sith legend. Darth Plagueis was a Dark Lord of the Sith, so powerful and so wise he could use the Force to influence the midichlorians to create life… He had such a knowledge of the dark side that he could even keep the ones he cared about from dying. The dark side of the Force is a pathway to many abilities some consider to be unnatural. He became so powerful… the only thing he was afraid of was losing his power, which eventually, of course, he did. Unfortunately, he taught his apprentice everything he knew, then his apprentice killed him in his sleep. Ironic. He could save others from death, but not himself."
flag = Flag(post_id=8128,
user_id=1,
reason=reason,
)
g.db.add(flag)
g.db.commit()
return "sex"
@app.get("/truescore")
@admin_level_required(6)