Missing await

bangame-develop
bobloy 6 years ago
parent 59c9ea775b
commit c470bec50a

@ -81,7 +81,7 @@ class RecyclingPlant(Cog):
) )
else: else:
if reward > 0: if reward > 0:
bank.deposit_credits(ctx.author, reward) await bank.deposit_credits(ctx.author, reward)
await ctx.send( await ctx.send(
"{} been given **{} {}s** for your services.".format( "{} been given **{} {}s** for your services.".format(
ctx.author.display_name, reward, bank.get_currency_name(ctx.guild) ctx.author.display_name, reward, bank.get_currency_name(ctx.guild)

Loading…
Cancel
Save