This commit is contained in:
GZod01 2024-12-16 13:27:12 +01:00
parent eee93e3ef5
commit 9de35f7103

View file

@ -79,7 +79,7 @@ class PersoCommands(app_commands.Group):
await interaction.response.send_message("Personnage non trouvé",ephemeral=True)
return
embed = await perso_embed(self.bot,row)
await interaction.response.send_message(f"Affichage de {row["nom_complet"]}({row["nom_court"]})",embed=embed)
await interaction.response.send_message(f"Affichage de {row['nom_complet']}({row['nom_court']})",embed=embed)
@show_character.autocomplete(name="short_name")
async def autocomplete_short_name(self,interaction:discord.Interaction,current:str):
res = await self.bot.db.execute("SELECT nom_court FROM personnages WHERE uuid=? AND (guild_id=? OR guild_id IS NULL)",(interaction.user.id,interaction.guild.id))