Optimizing ram usage
Hi! I need to find a way to lower the ram usage even more. What can I do? I have attached my current makeCache function.
Ask me if anything more is needed
6 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffI disabled all I don't use
Tickets.
I need messages (transcripts), channels, roles, emojis, guild members, users
And i think thats all?
I will cut down messages, members are needed to dm the ticket author once the ticket is closed to just not keep on fetching the users.
are intents the only major factor when it comes to optimizing? outside of customising caching i guess? or are there other ways
Don't i need to fetch the member/get it from the cache?
o
❤️
how can i know if the dm worked?
Okay
for member roles I can luckly just use the one discord provides