This commit is contained in:
Aevann1 2021-12-12 19:06:48 +02:00
parent fa7c37c476
commit 6f87871c63
7 changed files with 63 additions and 13 deletions

View file

@ -407,7 +407,7 @@ def api_comment(v):
if v.id == PIZZA_SHILL_ID:
cratvote = CommentVote(user_id=TAX_RECEIVER_ID, comment_id=c.id, vote_type=1)
g.db.add(cratvote)
v.coins += 1
v.coins += 2
v.truecoins += 1
g.db.add(v)
c.upvotes += 1
@ -433,7 +433,7 @@ def api_comment(v):
longpostbot = g.db.query(User).filter_by(id = LONGPOSTBOT_ID).first()
longpostbot.comment_count += 1
longpostbot.coins += 1
longpostbot.coins += 2
g.db.add(longpostbot)
g.db.flush()