Choosing Between GUILD_MEMBERS Intent Caching and API Fetching for Large-Scale Discord Bots
Context When deploying a discord.js bot across hundreds of guilds, the GUILD_MEMBERS privileged intent determines whether the library maintains a local member cache. Enabling it provides immediate O(1) access to member objects via guild.members.cache , but memory consumption grows linearly with total member count across all guilds. Disabling the intent force