restore /update for !everyone since its needed

master
Aevann 2023-07-03 00:48:23 +03:00
parent 25b9a0f535
commit a5f21ea658
1 changed files with 1 additions and 3 deletions

View File

@ -158,9 +158,7 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, log_cost=None):
if cost > v.coins:
abort(403, f"You need {cost} coins to mention these ping groups!")
for user in g.db.query(User).all():
user.pay_account('coins', 5)
g.db.add(user)
g.db.query(User).update({ User.coins: User.coins + 5 })
v.charge_account('coins', cost)
if log_cost: