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