fix !perso command

This commit is contained in:
Amazed 2020-11-19 20:11:45 +01:00
parent 1d0d029531
commit 00a8ba2a19
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ class WynncraftCog(commands.Cog):
persos = await self.config.guild(ctx.guild).persos()
if not class_str:
if author_id in persos:
await ctx.send(":white_check_mark: Ton perso défini est : %s" % persos[ctx.author.id])
await ctx.send(":white_check_mark: Ton perso défini est : %s" % persos[author_id])
return
else:
await ctx.send(":x: Tu n'as pas de perso défini, ton perso sera donc ton plus haut level !")