Just double checking to be extra sure: Do ALL DiscordJS fetch methods check the cache first?

I'm trying to understand if I should still make my own cache module, or if I can (or if it is *okay * to) trust that the cache will be called first before attempting to use discord's API. For example, just calling guild.fetchWebhooks() upon an event that is fired, or checking my own cache module to see if the webhook is found before calling that.
2 Replies
d.js toolkit
d.js toolkit7mo 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
Swyftey
SwyfteyOP7mo ago
Thank you
Want results from more Discord servers?
Add your server