mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Added await to set for currency name (#935)
This commit is contained in:
parent
2700a005d4
commit
cd32932b75
@ -179,7 +179,7 @@ class Economy:
|
|||||||
bank set @Twentysix +2 - Increases balance by 2
|
bank set @Twentysix +2 - Increases balance by 2
|
||||||
bank set @Twentysix -6 - Decreases balance by 6"""
|
bank set @Twentysix -6 - Decreases balance by 6"""
|
||||||
author = ctx.author
|
author = ctx.author
|
||||||
currency = bank.get_currency_name(ctx.guild)
|
currency = await bank.get_currency_name(ctx.guild)
|
||||||
|
|
||||||
if creds.operation == "deposit":
|
if creds.operation == "deposit":
|
||||||
await bank.deposit_credits(to, creds.sum)
|
await bank.deposit_credits(to, creds.sum)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user