Why does this always return 136 even with clearly more people on call?

I've already tried guild.member.fetch() and guild.channels.fetch(), without success
No description
3 Replies
d.js toolkit
d.js toolkit2mo ago
- 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! - Marked as resolved by staff
Octoboomer
Octoboomer2mo ago
Do you have the guild voice states intent enabled? It’d also be easier just to filter guild.voicestates and check if channelId isn’t null Wouldn’t require fetching members
Nem Tudo
Nem TudoOP2mo ago
oh, apparently that was it I think it worked thanks!

Did you find this page helpful?