mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Fix message when user hits max credits (#2563)
* Fix message when user hits max credits Fixes the error message when a users issues the payday command when having max credits * Update economy.py Changed message when user hits max payday and bank is global to match message when bank is per server * Update economy.py made statements match
This commit is contained in:
parent
39b64b7570
commit
c85af62401
@ -265,7 +265,7 @@ class Economy(commands.Cog):
|
|||||||
await bank.set_balance(author, exc.max_balance)
|
await bank.set_balance(author, exc.max_balance)
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
_(
|
_(
|
||||||
"You've reached the maximum amount of {currency}! (**{balance:,}**) "
|
"You've reached the maximum amount of {currency}!"
|
||||||
"Please spend some more \N{GRIMACING FACE}\n\n"
|
"Please spend some more \N{GRIMACING FACE}\n\n"
|
||||||
"You currently have {new_balance} {currency}."
|
"You currently have {new_balance} {currency}."
|
||||||
).format(currency=credits_name, new_balance=exc.max_balance)
|
).format(currency=credits_name, new_balance=exc.max_balance)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user