diff --git a/files/helpers/const.py b/files/helpers/const.py index 472e237a4a..3ceeccd778 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -136,7 +136,7 @@ if SITE == 'rdrama.net': ZOZBOT_ID = 1833 AUTOPOLLER_ID = 6176 AUTOBETTER_ID = 7668 - TAX_RECEIVER_ID = 995 + TAX_NOTIF_ID = 995 PIZZASHILL_ID = 2424 HIL_ID = 4245 CRAT_ID = 747 @@ -164,7 +164,7 @@ elif SITE == "pcmemes.net": ZOZBOT_ID = 1833 AUTOPOLLER_ID = 3369 AUTOBETTER_ID = 1867 - TAX_RECEIVER_ID = 1592 + TAX_NOTIF_ID = 1592 PIZZASHILL_ID = 0 HIL_ID = 0 CRAT_ID = 0 @@ -192,7 +192,7 @@ else: ZOZBOT_ID = 5 AUTOPOLLER_ID = 6 AUTOBETTER_ID = 7 - TAX_RECEIVER_ID = 8 + TAX_NOTIF_ID = 8 PIZZASHILL_ID = 0 HIL_ID = 0 CRAT_ID = 0 diff --git a/files/routes/users.py b/files/routes/users.py index e91c2a9680..eafaacc5e5 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -243,7 +243,7 @@ def transfer_coins(v, username): tax = math.ceil(amount*0.03) log_message = f"@{v.username} has transferred {amount} coins to @{receiver.username}" - send_repeatable_notification(CARP_ID, log_message) + send_repeatable_notification(TAX_NOTIF_ID, log_message) receiver.coins += amount-tax v.coins -= amount @@ -278,7 +278,7 @@ def transfer_bux(v, username): receiver.procoins += amount v.procoins -= amount - send_repeatable_notification(receiver.id, f":marseycapitalistmanlet: @{v.username} has gifted you {amount} marseybux!") + send_repeatable_notification(TAX_NOTIF_ID, f":marseycapitalistmanlet: @{v.username} has gifted you {amount} marseybux!") g.db.add(receiver) g.db.add(v) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 2c861bde99..7213c8265d 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -36,6 +36,7 @@

Grant