This commit is contained in:
Aevann1 2022-03-18 20:31:24 +02:00
parent e33c4ec93f
commit 12956c778c
5 changed files with 10 additions and 27 deletions

View file

@ -659,8 +659,6 @@ def api_comment(v):
g.db.add(autovote)
autovote = CommentVote(user_id=AEVANN_ID, comment_id=c.id, vote_type=1)
g.db.add(autovote)
autovote = CommentVote(user_id=CRAT_ID, comment_id=c.id, vote_type=1)
g.db.add(autovote)
autovote = CommentVote(user_id=PIZZASHILLSHILL_ID, comment_id=c.id, vote_type=1)
g.db.add(autovote)
v.coins += 3
@ -668,14 +666,6 @@ def api_comment(v):
g.db.add(v)
c.upvotes += 3
g.db.add(c)
elif v.id == HIL_ID:
autovote = CommentVote(user_id=CARP_ID, comment_id=c.id, vote_type=1)
g.db.add(autovote)
v.coins += 1
v.truecoins += 1
g.db.add(v)
c.upvotes += 1
g.db.add(c)
if not v.rehab:
check_for_slots_command(body, v, c)