finish
This commit is contained in:
parent
f926d864e3
commit
88eb345e95
@ -33,13 +33,14 @@ module.exports = {
|
|||||||
|
|
||||||
for (const chunk of chunks) {
|
for (const chunk of chunks) {
|
||||||
for (const link of chunk) {
|
for (const link of chunk) {
|
||||||
|
const discordName = user.globalName ? user.globalName : link.discord_username;
|
||||||
const discordMention = `<@${link.discord_id}>`;
|
const discordMention = `<@${link.discord_id}>`;
|
||||||
const lastConn = link.lastConnection
|
const lastConn = link.lastConnection
|
||||||
? `📅 Dernière connexion: <t:${Math.floor(new Date(link.lastConnection).getTime() / 1000)}:R>`
|
? `📅 Dernière connexion: <t:${Math.floor(new Date(link.lastConnection).getTime() / 1000)}:R>`
|
||||||
: '📅 Dernière connexion: Jamais vu';
|
: '📅 Dernière connexion: Jamais vu';
|
||||||
|
|
||||||
embed.addFields({
|
embed.addFields({
|
||||||
name: '👤 Compte lié',
|
name: `👤 ${discordName}`,
|
||||||
value: `${discordMention}
|
value: `${discordMention}
|
||||||
🎮 Palworld: **${link.palworld_username}**
|
🎮 Palworld: **${link.palworld_username}**
|
||||||
🆔 Steam ID: \`${link.steam_id}\`
|
🆔 Steam ID: \`${link.steam_id}\`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user