remotes/1693045480750635534/spooky-22
Aevann1 2021-12-28 21:32:32 +02:00
parent c9930f1402
commit 9222d8d8fd
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ def buy(v, award):
old_badge = v.has_badge(71)
if old_badge: g.db.delete(old_badge)
elif v.coins_spent >= 250000 and not v.has_badge(71):
new_badge = Badge(badge_id=71, user_id=v.id)
g.db.add(new_badge)
send_notification(v.id, f"@AutoJanny has given you the following profile badge:\n\n![]({new_badge.path})\n\n{new_badge.name}")