master
Aevann1 2021-11-18 21:30:34 +02:00
parent 262f4c9ae2
commit 2f91300ae5
1 changed files with 5 additions and 0 deletions

View File

@ -623,6 +623,11 @@ def award_comment(cid, v):
send_notification(995, f"@{v.username} bought {kind} award!")
new_badge = Badge(badge_id=67, user_id=author.id)
g.db.add(new_badge)
elif kind == "eye":
author.eye = True
send_notification(995, f"@{v.username} bought {kind} award!")
new_badge = Badge(badge_id=83, user_id=author.id)
g.db.add(new_badge)
elif kind == "marsey":
author.marseyawarded = time.time() + 86400