From f9a156818ef1a9f7eae0c16c8c417ab49fbddcb2 Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Tue, 1 Jul 2025 15:20:53 +0200 Subject: [PATCH] test --- index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 2366007..b552e56 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ const token = args[2].toString(); const pterodactyl = args[3].toString(); const palworldToken = args[4].toString(); const deeplToken = args[5] ? args[5].toString() : null; // Ajoutez le token DeepL comme 5ème argument - +console.log("deeplToken : "+deeplToken); const headers = { "Accept": "application/json", "Content-Type": "application/json", @@ -94,9 +94,8 @@ client.on(Events.MessageReactionAdd, async (reaction, user) => { if (reaction.message.partial) { await reaction.message.fetch(); } - const message = reaction.message; - + console.log(message); // Vérifier qu'il y a du contenu à traduire if (!message.content || message.content.trim() === '') { return;