fix: updated !perso command
This commit is contained in:
parent
132b5fdb94
commit
ceba8a4602
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user