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:
kennnyshiwa 2019-04-09 18:54:44 -04:00 committed by Will
parent 39b64b7570
commit c85af62401

View File

@ -265,7 +265,7 @@ class Economy(commands.Cog):
await bank.set_balance(author, exc.max_balance)
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"
"You currently have {new_balance} {currency}."
).format(currency=credits_name, new_balance=exc.max_balance)