tell ppl about the promo in the message

pull/225/head
Aevann 2024-02-24 17:54:31 +02:00
parent 871a32e0fa
commit 215e19adb6
1 changed files with 3 additions and 1 deletions

View File

@ -70,13 +70,15 @@ def claim_rewards_all_users():
if marseybux:
marseybux = int(marseybux)
text = 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)."
if SITE_NAME == 'WPD' and time.time() < 1709251200 and marseybux >= 10000:
text = f"You have received ~~{marseybux}~~ {marseybux*1.5} Marseybux! You can use them to buy awards or hats in the [shop](/shop/awards) or gamble them in the [casino](/casino)."
marseybux *= 1.5
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).")
send_repeatable_notification(user.id, text)
g.db.add(user)
user.patron_utc = int(time.time()) + 2937600