remotes/1693045480750635534/spooky-22
Aevann1 2021-12-23 21:02:54 +02:00
parent e0f0ed74db
commit 690b2fec59
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def distribute(v, comment):
autobetter = g.db.query(User).filter_by(id=AUTOBETTER_ID).first()
autobetter.coins -= pool
if autobetter.coins < 0: return {"error": "Not enough coins in bool"}
if autobetter.coins < 0: return {"error": "Not enough coins in bool"}, 400
g.db.add(autobetter)
cid = notif_comment(f"You lost the 200 coins you bet on [{post.permalink}]({post.permalink}) :marseylaugh:")