forked from MarseyWorld/MarseyWorld
send me the notifs i need
parent
c05c30e25e
commit
415a24e625
|
@ -24,6 +24,29 @@ from files.routes.routehelpers import get_alt_graph, get_alt_graph_ids
|
|||
|
||||
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')
|
||||
@limiter.limit(DEFAULT_RATELIMIT)
|
||||
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
||||
|
|
Loading…
Reference in New Issue