fsdsfd
This commit is contained in:
parent
40d7eec766
commit
aaa7430f19
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ def distribute(v, comment):
|
|||
|
||||
autobetter = g.db.query(User).filter_by(id=AUTOBETTER_ID).first()
|
||||
autobetter.coins -= pool
|
||||
if autobetter.coins < 0: abort(400)
|
||||
g.db.add(autobetter)
|
||||
|
||||
cid = notif_comment(f"You lost the 200 coins you bet on [{post.permalink}]({post.permalink}) :marseylaugh:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue