This commit is contained in:
Louis Mazin 2025-12-09 22:15:36 +01:00
parent f926d864e3
commit 88eb345e95

View File

@ -33,13 +33,14 @@ module.exports = {
for (const chunk of chunks) {
for (const link of chunk) {
const discordName = user.globalName ? user.globalName : link.discord_username;
const discordMention = `<@${link.discord_id}>`;
const lastConn = link.lastConnection
? `📅 Dernière connexion: <t:${Math.floor(new Date(link.lastConnection).getTime() / 1000)}:R>`
: '📅 Dernière connexion: Jamais vu';
embed.addFields({
name: '👤 Compte lié',
name: `👤 ${discordName}`,
value: `${discordMention}
🎮 Palworld: **${link.palworld_username}**
🆔 Steam ID: \`${link.steam_id}\`