Egiziano
DIAdiscord.js - Imagine an app
•Created by Egiziano on 8/1/2024 in #djs-questions
Is there any benefit from using <ComponentCollector>.removeAllListeners() on the "end" event of it?
Like freeing up memory or increasing performance, or nodejs handles this already?
3 replies
DIAdiscord.js - Imagine an app
•Created by Egiziano on 12/13/2023 in #djs-questions
`ButtonInteraction.createdTimestamp` is ahead of fetched epoch from `Date.now()`?!
Alright so, I've encountered a confusing error related to this. Think of the following:
I'm getting a negative number every time I try it. No idea why is this happening. Shouldn't
Date.now()
be a higher value than ButtonInteract.createdTimestamp
or I'm missing something?
Node 21.0.0
6 replies