(4-5*(3/15))
This commit is contained in:
parent
c87baa0d2e
commit
fcbfdd7d79
1 changed files with 4 additions and 2 deletions
|
@ -508,9 +508,11 @@ def gumroad(v):
|
|||
|
||||
v.procoins += procoins
|
||||
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):
|
||||
new_badge = Badge(badge_id=20+tier, user_id=v.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue