This commit is contained in:
Aevann1 2022-01-30 23:37:46 +02:00
parent d8ea05ab3d
commit 77aca1df74
3 changed files with 2 additions and 5 deletions

View file

@ -213,7 +213,6 @@ def monthly(v):
for u in g.db.query(User).filter(User.patron > 0, User.patron_utc == 0).all():
if u.email and u.email.lower() in emails:
continue
if u.patron == 1: procoins = 2500
elif u.patron == 2: procoins = 5000
elif u.patron == 3: procoins = 10000
@ -223,13 +222,11 @@ def monthly(v):
g.db.add(u)
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).")
elif u.patron == 5:
continue
procoins = 50000
u.procoins += procoins
g.db.add(u)
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).")
elif u.patron == 1 and u.admin_level > 0:
continue
procoins = 2500
u.procoins += procoins
g.db.add(u)