This commit is contained in:
GZod01 2024-12-15 16:58:09 +01:00
parent 163d5725a5
commit e476b5bd4c

View file

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