From 94992e4532aec24b47f623e50ce91e20ef926fc7 Mon Sep 17 00:00:00 2001 From: fazalfarhan01 Date: Sat, 4 Dec 2021 13:11:00 +0530 Subject: [PATCH] fixed referral not showing --- app/functions.py | 4 ++-- app/webhooks.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/functions.py b/app/functions.py index 48d07b3..7462805 100644 --- a/app/functions.py +++ b/app/functions.py @@ -23,9 +23,9 @@ def display_initial_info(graphics, info: AllInformation): graphics.info(f"Multiplier: {info.earnings_info.multiplier}") graphics.info(f"Balance: {info.earnings_info.balance}") graphics.info(f"Lifetime Balance: {info.earnings_info.earnings_total}") - graphics.info(f"Referral Balance: -") #here + graphics.info(f"Referral Balance: {info.earnings_info.bonuses}") #here graphics.info( - f"Lifetime Referral Balance: -") #here + f"Lifetime Referral Balance: {info.earnings_info.bonuses_total}") #here graphics.info(f"Total Devices: {info.devices_info.total_devices}") graphics.info(f"\tWindows: {info.devices_info.windows_devices}") graphics.info(f"\tLinux: {info.devices_info.linux_devices}") diff --git a/app/webhooks.py b/app/webhooks.py index 422d861..1c61190 100644 --- a/app/webhooks.py +++ b/app/webhooks.py @@ -70,7 +70,7 @@ def balance_update(self, info: AllInformation): embed.add_embed_field(name="Balance", value=f"{info.earnings_info.balance}$") embed.add_embed_field(name="Referral Balance", - value=f"-") + value=f"{info.earnings_info.bonuses}$") embed.add_embed_field(name="Lifetime Balance", value=f"{info.earnings_info.earnings_total}$") embed.add_embed_field(