k
This commit is contained in:
parent
a35f9919ef
commit
c76632c905
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class PersoCommands(app_commands.Group):
|
|||
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))
|
||||
rows = await res.fetchall()
|
||||
await res.close()
|
||||
return [app_commands.OptionChoice(name=row["nom_court"],value=row["nom_court"]) for row in rows]
|
||||
return [app_commands.Choice(name=row["nom_court"],value=row["nom_court"]) for row in rows]
|
||||
|
||||
|
||||
@app_commands.command(name="lister",description="Liste les personnages sur le serveur")
|
||||
|
|
Loading…
Reference in a new issue