forked from MarseyWorld/MarseyWorld
(4-5*(3/15))
parent
06332bf4f8
commit
ae728caeb2
|
@ -508,9 +508,11 @@ def gumroad(v):
|
||||||
|
|
||||||
v.procoins += procoins
|
v.procoins += procoins
|
||||||
send_notification(v.id, f"You were given {procoins} Marseybux! You can use them to buy awards in the [shop](/shop).")
|
send_notification(v.id, f"You were given {procoins} Marseybux! You can use them to buy awards in the [shop](/shop).")
|
||||||
if v.truecoins > 150: v.cluballowed = True
|
|
||||||
g.db.add(v)
|
|
||||||
|
|
||||||
|
if v.truecoins > 150 and v.patron > 0 or v.patron > 2: v.cluballowed = True
|
||||||
|
if v.patron > 3 and v.verified == None: v.verified = "Verified"
|
||||||
|
|
||||||
|
g.db.add(v)
|
||||||
|
|
||||||
if not v.has_badge(20+tier):
|
if not v.has_badge(20+tier):
|
||||||
new_badge = Badge(badge_id=20+tier, user_id=v.id)
|
new_badge = Badge(badge_id=20+tier, user_id=v.id)
|
||||||
|
|
Loading…
Reference in New Issue