From cd44456079e0591f44d6df4e2e4ac11b3d59f2eb Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 9 Aug 2023 16:10:44 +0300 Subject: [PATCH] make it so u can use marseybux for pinging ping groups ur not a member of --- files/helpers/alerts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index c23814371..aba952b07 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -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