master
Aevann1 2022-01-14 13:19:25 +02:00
parent 03f5fff40a
commit 4d4a54fcba
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ def monthly(v):
emails = [x['email'] for x in requests.get(f'https://api.gumroad.com/v2/products/{GUMROAD_ID}/subscribers', data=data, timeout=5).json()["subscribers"]]
for u in g.db.query(User).filter(User.patron > 0, User.patron != 5).all():
for u in g.db.query(User).filter(User.patron > 0, User.patron != 5, User.admin_level = 0).all():
if u.email and u.email.lower() in emails or u.id == 1379:
if u.patron == 1: procoins = 2500
elif u.patron == 2: procoins = 5000