fdsfds
This commit is contained in:
parent
fa7c37c476
commit
6f87871c63
7 changed files with 63 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue