From e476b5bd4c1d2ead381ee754b1ca59bcf2636309 Mon Sep 17 00:00:00 2001 From: GZod01 Date: Sun, 15 Dec 2024 16:58:09 +0100 Subject: [PATCH] a --- perso_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perso_commands.py b/perso_commands.py index 724ede6..cc0eae6 100644 --- a/perso_commands.py +++ b/perso_commands.py @@ -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()