remotes/1693045480750635534/spooky-22
Aevann1 2021-10-22 01:01:46 +02:00
parent 027850e55d
commit 79fe4ea1b6
2 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ def remove_fake_admin(v, username):
@app.post("/admin/monthly")
@limiter.limit("1/day")
#@limiter.limit("1/day")
@admin_level_required(6)
def monthly(v):
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,12,28,29,747,995,1480]) or ('rama' not in request.host and 'pcm' not in request.host):
@ -179,7 +179,7 @@ def monthly(v):
elif u.patron == 5 or u.patron == 8: procoins = 50000
u.procoins += procoins
send_notification(NOTIFICATIONS_ACCOUNT, u, f"You were given {procoins} Marseybux!")
send_notification(NOTIFICATIONS_ACCOUNT, u, f"You were given {procoins} Marseybux! You can use them to buy awards in the [shop](/shop).")
g.db.add(u)
g.db.commit()

View File

@ -312,7 +312,7 @@ def gumroad(v):
elif v.patron == 5 or v.patron == 8: procoins = 50000
v.procoins += procoins
send_notification(NOTIFICATIONS_ACCOUNT, v, f"You were given {procoins} Marseybux!")
send_notification(NOTIFICATIONS_ACCOUNT, v, f"You were given {procoins} Marseybux! You can use them to buy awards in the [shop](/shop).")
g.db.add(v)