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
• 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.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.