debug !perso command
This commit is contained in:
parent
969de00cbc
commit
21c1bc2b32
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user