From bcf4f443a9d7034fd8f73451aa971828731ba027 Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Tue, 13 Jan 2026 00:19:47 +0100 Subject: [PATCH] test --- commands/utility/afficher-lies.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/utility/afficher-lies.js b/commands/utility/afficher-lies.js index ffaf148..c50711a 100644 --- a/commands/utility/afficher-lies.js +++ b/commands/utility/afficher-lies.js @@ -30,7 +30,8 @@ module.exports = { .setColor(0x0099FF) .setTitle(i === 0 ? '🔗 Liste des comptes liés' : null) .setDescription(i === 0 ? `Total: **${links.length}** compte(s) lié(s)` : null) - .setTimestamp(i === links.length ? new Date() : null); + // si c'est le dernier embed, on met la date actuelle + .setTimestamp(i + FIELDS_PER_EMBED >= links.length ? new Date() : null); for (const link of chunk) { const user = await interaction.client.users.fetch(link.discord_id).catch(() => null);