diff --git a/perso_commands.py b/perso_commands.py index 98d7891..732031f 100644 --- a/perso_commands.py +++ b/perso_commands.py @@ -89,7 +89,7 @@ class PersoCommands(app_commands.Group): @app_commands.command(name="lister",description="Liste tous les personnages") async def list_characters(self,interaction:discord.Interaction,output_hidden:bool=False): #admin - if not interaction.user.id == self.bot.owner_id: + if not interaction.user.id in self.bot.owner_ids: await interaction.response.send_message("Vous n'avez pas la permission d'exécuter cette commande",ephemeral=True) return print("perso list")