test
This commit is contained in:
parent
b1ac51aa65
commit
f926d864e3
@ -33,13 +33,19 @@ module.exports = {
|
||||
|
||||
for (const chunk of chunks) {
|
||||
for (const link of chunk) {
|
||||
const discordName = `<@${link.discord_id}>`;
|
||||
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: `👤 ${discordName}`,
|
||||
value: `🎮 Palworld: **${link.palworld_username}**\n🆔 Steam ID: \`${link.steam_id}\`\n🎯 Player ID: \`${link.player_id || 'N/A'}\`\n ${lastConn}\n📅 Lié le: ${new Date(link.linked_at).toLocaleDateString('fr-FR')}`,
|
||||
name: '👤 Compte lié',
|
||||
value: `${discordMention}
|
||||
🎮 Palworld: **${link.palworld_username}**
|
||||
🆔 Steam ID: \`${link.steam_id}\`
|
||||
🎯 Player ID: \`${link.player_id || 'N/A'}\`
|
||||
${lastConn}
|
||||
📅 Lié le: ${new Date(link.linked_at).toLocaleDateString('fr-FR')}`,
|
||||
inline: false
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user