debug !perso command

This commit is contained in:
Amazed 2020-11-19 20:05:55 +01:00
parent 969de00cbc
commit 21c1bc2b32

View File

@ -310,6 +310,7 @@ class WynncraftCog(commands.Cog):
return
persos = await self.config.guild(ctx.guild).persos()
await self._log(persos)
max_class = None
if ctx.author.id in persos:
wanted_class = persos[ctx.author.id]
@ -462,6 +463,7 @@ class WynncraftCog(commands.Cog):
persos[ctx.author.id] = class_str
await self.config.guild(ctx.guild).persos.set(persos)
await ctx.send(":white_check_mark: Ton perso est désormais %s !" % class_str)
await self._log(persos)
@commands.command()
@checks.admin_or_permissions(manage_guild=True)