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