From ad89b83304f184518fc27f70ac01c0d2b0153962 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 8 Feb 2022 10:58:35 +0200 Subject: [PATCH] bv --- files/routes/users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/users.py b/files/routes/users.py index 104a6168b..b8a791c87 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -295,11 +295,11 @@ def transfer_bux(v, username): if amount < 100: return {"error": "You have to gift at least 100 marseybux."}, 400 log_message = f"@{v.username} has transferred {amount} Marseybux to @{receiver.username}" - send_repeatable_notification(CARP_ID, log_message) + send_repeatable_notification(TAX_NOTIF_ID, log_message) receiver.procoins += amount v.procoins -= amount - send_repeatable_notification(TAX_NOTIF_ID, f":marseycapitalistmanlet: @{v.username} has gifted you {amount} marseybux!") + send_repeatable_notification(receiver.id, f":marseycapitalistmanlet: @{v.username} has gifted you {amount} marseybux!") g.db.add(receiver) g.db.add(v)