papa elf
papa elf
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
alr, 😭
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
im getting the same error once i added more to it, but i didn't change anything besides createdAt
.setDescription(`**Username:** <@${user_id}> - **${user}** (${user_id})\n**Action:** User Joined\n**Created At:** <t:${Math.floor(member.createdAt.getTime() / 1000)}:F> (<t:${Math.floor(member.createdAt.getTime() / 1000)}:R>)\n**Joined At:** <t:${Math.floor(member.joinedAt.getTime() / 1000)}:F> (<t:${Math.floor(member.joinedAt.getTime() / 1000)}:R>)`)
.setDescription(`**Username:** <@${user_id}> - **${user}** (${user_id})\n**Action:** User Joined\n**Created At:** <t:${Math.floor(member.createdAt.getTime() / 1000)}:F> (<t:${Math.floor(member.createdAt.getTime() / 1000)}:R>)\n**Joined At:** <t:${Math.floor(member.joinedAt.getTime() / 1000)}:F> (<t:${Math.floor(member.joinedAt.getTime() / 1000)}:R>)`)
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
my bad
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
i completely forgot about that
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
ohh right
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
yeah
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
one last thing, whats the property for a member leaving the guild?
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
works! thanks for the help.
18 replies
DIAdiscord.js - Imagine an app
Created by papa elf on 6/30/2023 in #djs-questions
getTime is undefined
ah, alr i've been using member.user for the events so i just assumed it would be the same
18 replies