Possible to _never_ purge/sweep specific cache?

Our bot frequently checks roles & server memberships On our bot initialization, we have makeCache: Options.cacheEverything() set However, when we go to check members, we still frequently have to make api calls to get the member and I'm guessing it's because the cache still has some kind of limits. Am I wrong? Or is there another way to ensure that the members cache is never swept or otherwise purged? Thanks in advance :PrayGe:
2 Replies
d.js toolkit
d.js toolkit3mo ago
- 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 OP
billytheape
billytheape3mo ago
Is there an option to tell it to fill the cache on startup? We are in like 11k servers so I'm guessing that will be a bit of a large response... Ok just wanted to be 100% sure it wasn't like, still sweeping past a certain point
Want results from more Discord servers?
Add your server