force mbux to be an int

pull/219/head
Aevann 2023-12-04 00:54:37 +02:00
parent 2aa9c45ee5
commit 765b7e4041
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ def claim_rewards_all_users():
g.db.add(transaction)
if marseybux:
marseybux = int(marseybux)
user.pay_account('marseybux', marseybux)
send_repeatable_notification(user.id, f"You have received {marseybux} Marseybux! You can use them to buy awards or hats in the [shop](/shop/awards) or gamble them in the [casino](/casino).")