Ajout d'un message de débogage dans la fonction say_message

This commit is contained in:
GZod01 2024-12-15 16:11:30 +01:00
parent 3f617362d7
commit 9edba884ff

View file

@ -48,6 +48,7 @@ async def say(interaction:discord.Interaction,id:str,message:str):
async def say_message(userid:int, guildid:int, shortname:str, message:str,channel:discord.TextChannel): async def say_message(userid:int, guildid:int, shortname:str, message:str,channel:discord.TextChannel):
print("HELLOWORODL")
res = await bot.db.execute("SELECT * FROM personnages WHERE uuid=? AND (guild_id=? OR guild_id IS NULL) AND nom_court=?",(userid,guildid,shortname)) res = await bot.db.execute("SELECT * FROM personnages WHERE uuid=? AND (guild_id=? OR guild_id IS NULL) AND nom_court=?",(userid,guildid,shortname))
row = await res.fetchone() row = await res.fetchone()
await res.close() await res.close()