Skip to content

Commit 10e7126

Browse files
committed
tweak bal text
1 parent d6f5cdd commit 10e7126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/account.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def format_balance_message(self, balance_raw: int, pending_raw: int, pending_sen
146146
embed.set_author(name="Balance", icon_url="https://github.com/bbedward/graham_discord_bot/raw/master/assets/banano_logo.png" if Env.banano() else "https://github.com/bbedward/graham_discord_bot/raw/master/assets/nano_logo.png")
147147
embed.description = "**Available:**\n"
148148
embed.description += f"```{Env.raw_to_amount(balance_raw - pending_send_db):,} {Env.currency_symbol()}\n"
149-
pending_receive_str = f" + {Env.raw_to_amount(pending_raw + pending_receive_db):,} {Env.currency_symbol()}"
150-
pending_send_str = f" - {Env.raw_to_amount(pending_send_db):,} {Env.currency_symbol()}"
149+
pending_receive_str = f"+ {Env.raw_to_amount(pending_raw + pending_receive_db):,} {Env.currency_symbol()}"
150+
pending_send_str = f"- {Env.raw_to_amount(pending_send_db):,} {Env.currency_symbol()}"
151151
rjust_size = max(len(pending_send_str), len(pending_receive_str))
152152
embed.description += f"{pending_receive_str.ljust(rjust_size)} (Pending Receipt)\n{pending_send_str.ljust(rjust_size)} (Pending Send)```\n"
153153
embed.set_footer(text="Pending balances are in queue and will become available after processing.")

0 commit comments

Comments
 (0)