a
This commit is contained in:
parent
3bb40fc09f
commit
6f2d437324
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue