forked from rDrama/rDrama
parent
a2de915ad9
commit
333f536f1a
|
@ -24,29 +24,6 @@ from files.routes.routehelpers import get_alt_graph, get_alt_graph_ids
|
||||||
|
|
||||||
from .front import frontlist, comment_idlist
|
from .front import frontlist, comment_idlist
|
||||||
|
|
||||||
|
|
||||||
chud_phrases = (
|
|
||||||
"trans lives matter",
|
|
||||||
"black lives matter",
|
|
||||||
"black trans lives matter",
|
|
||||||
"the future is female",
|
|
||||||
"i say this as a feminist ally",
|
|
||||||
"i stand with israel",
|
|
||||||
"vaccines work",
|
|
||||||
"trans women are women",
|
|
||||||
"furry rights are human rights",
|
|
||||||
"trans furry lives matter",
|
|
||||||
)
|
|
||||||
|
|
||||||
@app.get("/admin/agendaposter_all")
|
|
||||||
@admin_level_required(99)
|
|
||||||
def agendaposter_all(v):
|
|
||||||
for x in chud_phrases:
|
|
||||||
text = f"@Bardfinn has chudded you for 1 day."
|
|
||||||
text += f"\n\n> {x}"
|
|
||||||
send_repeatable_notification(1, text)
|
|
||||||
return "CHUDDING...."
|
|
||||||
|
|
||||||
@app.get('/admin/loggedin')
|
@app.get('/admin/loggedin')
|
||||||
@limiter.limit(DEFAULT_RATELIMIT)
|
@limiter.limit(DEFAULT_RATELIMIT)
|
||||||
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
||||||
|
|
Loading…
Reference in New Issue