why not always use fetch?

1. where can we see the detailed behavior of what object we can always expect to be cached, and which object must be fetched? 2. what if memory runs out? may guilds/channels always expected to be cached be scarified and make .cache unreliable?
2 Replies
d.js docs
d.js docs3y ago
• 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.
Syjalo
Syjalo3y ago
If you have Guilds intent guilds, channels, roles and permission overwrites are cached. If you have GuildVoiceStates intent voice states are cached. Other things you should to fetch.
Want results from more Discord servers?
Add your server