From addc871b1b11d1c5b87c84d8a57307ac88ae6d06 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 31 Dec 2021 15:50:10 +0200 Subject: [PATCH] fsd --- files/routes/admin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 520e2485a2..230ab1bfc0 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -203,7 +203,6 @@ def monthly(v): email=f"{email}@gmail.com" emails.append(email.lower()) - cid = notif_comment(f"You were given {procoins} Marseybux for the month of {month}! You can use them to buy awards in the [shop](/shop).") for u in g.db.query(User).filter(User.patron > 0).all(): if u.patron == 5 or u.email and u.email.lower() in emails or u.id == 1379: if u.patron == 1: procoins = 2500 @@ -214,8 +213,7 @@ def monthly(v): else: print(u.username) u.procoins += procoins g.db.add(u) - add_notif(cid, u.id) - + send_repeatable_notification(u.id, f"You were given {procoins} Marseybux for the month of {month}! You can use them to buy awards in the [shop](/shop).") g.db.commit() return {"message": "Monthly coins granted"}