Guild .memberCount vs .approximateMemberCount?
What is the difference between a guild's memberCount and approx MC? I don't see a memberCount in the actual API-provided Guild, and additionally the approximate count is for some reason null? I have the Guilds & GuildMembers intents enabled which I presume are the needed ones.
2 Replies
- 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!
Node 18.17.0
The error is the Influx client showing me that the guild's
.approximateMemberCount
is null
(ping for replies please)
Should I be using .membercount or .approximatemembercount?
I'm still getting null
s, I enabled GuildPresences as well
.memberCount exists though I misunderstood what you said. What about for getting members per presence? Do I fetch the full member list??
Technically in some guilds don't you only get members in VCs if they're over the large guild threshold?
We don't have 75k and its a single-server bot so no issue