what are the advantages/disadvantages of using djs Collection or js Map over a regular object?
ik that they keep the order that the data was put in, but is there anything else?
2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Objects are optimized to store more static data. Map (Collection extends Map) optimized to store dynamic data.