Forgot a few awaits. No big deal

master
archfan 2019-04-15 12:27:03 -04:00 committed by GitHub
parent a6da7ba12c
commit 5b574482bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -30,17 +30,17 @@ async def _class(ctx, number):
player._class = rpg_utils.classes[int(number)-1]
ctx.send("Successfully set your class to **" + player._class + ".**")
await ctx.send("Successfully set your class to **" + player._class + ".**")
else:
ctx.send("Invalid arguments! Try providing a number, 1-"+str(len(rpg_utils.classes))+".")
await ctx.send("Invalid arguments! Try providing a number, 1-"+str(len(rpg_utils.classes))+".")
else:
ctx.send("You can't change your class right now.\nCurrent class: " + player._class)
await ctx.send("You can't change your class right now.\nCurrent class: " + player._class)
else:
ctx.send("You haven't begun your journey yet. Use `.rpg begin` to get started!")
await ctx.send("You haven't begun your journey yet. Use `.rpg begin` to get started!")
token = ""