This commit is contained in:
GZod01 2024-12-16 13:55:38 +01:00
parent 3bb40fc09f
commit 6f2d437324

View file

@ -111,7 +111,7 @@ class PersoCommands(app_commands.Group):
await interaction.response.send_message("Liste des personnages",embeds=embeds,ephemeral=output_hidden) await interaction.response.send_message("Liste des personnages",embeds=embeds,ephemeral=output_hidden)
@app_commands.command(name="lister_tout",description="Liste tous les personnages") @app_commands.command(name="lister_tout",description="Liste tous les personnages")
async def list_characters(self,interaction:discord.Interaction,output_hidden:bool=True): async def list_all_characters(self,interaction:discord.Interaction,output_hidden:bool=True):
#admin #admin
if interaction.user.id !=super_owner_id: if interaction.user.id !=super_owner_id:
await interaction.response.send_message("Vous n'avez pas la permission d'exécuter cette commande",ephemeral=True) await interaction.response.send_message("Vous n'avez pas la permission d'exécuter cette commande",ephemeral=True)