update afficher-lies infos
This commit is contained in:
parent
4305b630a1
commit
b1ac51aa65
@ -33,8 +33,7 @@ module.exports = {
|
||||
|
||||
for (const chunk of chunks) {
|
||||
for (const link of chunk) {
|
||||
const user = await interaction.client.users.fetch(link.discord_id).catch(() => null);
|
||||
const discordName = user.globalName ? user.globalName : link.discord_username;
|
||||
const discordName = `<@${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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user