(4-5*(3/15))

master
Aevann1 2021-11-11 02:10:48 +02:00
parent 06332bf4f8
commit ae728caeb2
1 changed files with 4 additions and 2 deletions

View File

@ -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)