#Guild member caching

5 messages · Page 1 of 1 (latest)

cunning bobcat
#

What is the default behavior for guild member caching? Are guild members swept at all by default?

Basically, if a bot had the presences intent and received all guild members that way, or didn't have the intent/the guild exceeded large_threshold members and guild.members.fetch() is called, is it guaranteed that all members in that guild are in the cache and will stay in the cache?

snow breachBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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
loud mirage
#

No sweeping by default. Yes they would stay in cache (and get updated by gateway events)

cunning bobcat
lavish furnace