From 010531afe2cab2f96af0193f8ce71471e197ae14 Mon Sep 17 00:00:00 2001 From: GZod01 Date: Mon, 16 Dec 2024 13:47:13 +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 ac885b4..92fa966 100644 --- a/perso_commands.py +++ b/perso_commands.py @@ -59,7 +59,7 @@ class PersoCommands(app_commands.Group): print(image.filename) print(image.url) try: - res + res=None if global_character: 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)) else: