add badge to top 10 patrons by lifetime_donated
parent
63c9715d7c
commit
106f8da561
|
@ -98,6 +98,9 @@ def claim_rewards_all_users():
|
|||
|
||||
print(f'@{user.username} rewards claimed successfully!', flush=True)
|
||||
|
||||
for user in g.db.query(User).options(load_only(User.id)).order_by(User.lifetimedonated.desc()).limit(10).all():
|
||||
badge_grant(badge_id=294, user=user)
|
||||
|
||||
def transfer_currency(v, username, currency_name, apply_tax):
|
||||
MIN_CURRENCY_TRANSFER = 100
|
||||
TAX_PCT = 0.03
|
||||
|
|
Loading…
Reference in New Issue