This commit is contained in:
GZod01 2024-12-18 09:24:47 +01:00
parent ea1ab953c7
commit b37e1e8242

View file

@ -67,7 +67,7 @@ class PersoCommands(app_commands.Group):
print(image.url)
try:
res=None
res = await self.bot.db.execute("INSERT INTO personnages (nom_court,nom_complet,histoire,pouvoirs,age,sexe,uuid,image,universe,guild_id) VALUES (?,?,?,?,?,?,?,?)",(nom_court,nom_complet,histoire,pouvoirs,age,sexe,uuid,perso_image_url,universe_code,guild_id))
res = await self.bot.db.execute("INSERT INTO personnages (nom_court,nom_complet,histoire,pouvoirs,age,sexe,uuid,image,universe,guild_id) VALUES (?,?,?,?,?,?,?,?,?,?)",(nom_court,nom_complet,histoire,pouvoirs,age,sexe,uuid,perso_image_url,universe_code,guild_id))
print(res)
await res.close()
await self.bot.db.commit()