[Solved] Voice States cleared
Hey, I noticed that when I get the voice channel, check for the members in the channel I only get the bot member while it should return me and the bot user.
I have the feeling that this is bcs of my makeCache and sweepers settings. This is my config:
3 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!

I get the channel with
Didnt saw a other way to check if the voiceState is actually connected
oh
True
:OMEGALUL:
Beside that do you see anything else weird?
Guilds
GuildVoiceStates
GuildMessages
Are the ones I use
I also need to say this only happens after some time being in voice with the bot. When I join and check 2 seconds after that join or so I see myself in the .members collection
Changed the makeCache and sweepers to
and
Thanks for the mention, I wanted to update this message when I'm fully sure it works now. Yep this one was indeed wrong :OMEGALUL:
I kinda forgot how the filter handles the boolean