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 toolkit3w 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
Swyftey3w ago
Thank you