remotes/1693045480750635534/spooky-22
Aevann1 2021-07-30 17:49:32 +02:00
parent 8e45289bdf
commit 53cd85a1c2
1 changed files with 6 additions and 6 deletions

View File

@ -196,12 +196,12 @@ def badge_grant_post(v):
send_notification(1046, user, text)
if badge_id in [21,22,23,24,28]:
user.patron = int(str(badge_id)[-1])
user.animatedname = True
if badge_id == 23: user.banawards = 1
elif badge_id in [24,28]: user.banawards = 3
g.db.add(user)
# if badge_id in [21,22,23,24,28]:
# user.patron = int(str(badge_id)[-1])
# user.animatedname = True
# if badge_id == 23: user.banawards = 1
# elif badge_id in [24,28]: user.banawards = 3
# g.db.add(user)
return redirect(user.url)