fix: updated !perso command

This commit is contained in:
Amazed 2020-11-19 20:37:36 +01:00
parent 132b5fdb94
commit ceba8a4602
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ class WynncraftCog(commands.Cog):
if not req["data"]:
await ctx.send(":x: Impossible de t'aider, je ne te trouve pas sur Wynncraft :(\nAs-tu pensé à changer ton pseudo ?")
return
classes = [cl.name for cl in req["data"][0]["classes"]]
classes = [cl["name"] for cl in req["data"][0]["classes"]]
author_id = str(ctx.author.id)
persos = await self.config.guild(ctx.guild).persos()