From 333f536f1a563c638a8fe4684040286726c73d92 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 23 Mar 2023 17:25:01 +0200 Subject: [PATCH] Revert "send me the notifs i need" This reverts commit 415a24e625d337acbce094df67428853896ddced. --- files/routes/admin.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index bbb22f30c5..755297765f 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -24,29 +24,6 @@ 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)