forked from MarseyWorld/MarseyWorld
fix janny salary
parent
5c9cc5332b
commit
4c3d4ac8ac
|
@ -373,6 +373,8 @@ def _unpin_expired():
|
||||||
def _give_marseybux_salary():
|
def _give_marseybux_salary():
|
||||||
for u in g.db.query(User).filter(User.admin_level > 0).all():
|
for u in g.db.query(User).filter(User.admin_level > 0).all():
|
||||||
marseybux_salary = u.admin_level * 10000
|
marseybux_salary = u.admin_level * 10000
|
||||||
|
if SITE_NAME == 'WPD':
|
||||||
|
marseybux_salary *= 2
|
||||||
u.pay_account('marseybux', marseybux_salary, "Janny salary")
|
u.pay_account('marseybux', marseybux_salary, "Janny salary")
|
||||||
send_repeatable_notification(u.id, f"You have received your monthly janny salary of {commas(marseybux_salary)} Marseybux!")
|
send_repeatable_notification(u.id, f"You have received your monthly janny salary of {commas(marseybux_salary)} Marseybux!")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue