make it so u can use marseybux for pinging ping groups ur not a member of

pull/183/head
Aevann 2023-08-09 16:10:44 +03:00
parent 301199e92d
commit cd44456079
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,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!")
v.charge_account('coins', cost)
v.charge_account('combined', cost)
if log_cost:
log_cost.ping_cost = cost
return 'everyone'
@ -183,7 +183,7 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, log_cost=None):
log_cost.ping_cost = cost
if cost:
v.charge_account('coins', cost)
v.charge_account('combined', cost)
return notify_users - BOT_IDs - {v.id, 0} - v.all_twoway_blocks