CheeseGroveCam
CheeseGroveCam
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
Alright, I found it in the documentation under "channels". Sorry for the confusion guys but thanks for the help. This should do it 🙂
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
I see! Yeah that makes sense. I will look through this voiceChannel instead. But I don't see it in the Guild. Where is this found?
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
Exactly. Which I am able to, just that when someone leaves, they are still in the cache
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
I don't understand the use of this channelId. If multiple users are connected to the VS, then the same channelId is just outputted once for each user
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
Maybe it's that I'm not understanding what a VoiceState is. I have assumed that a voice channel == VoiceState. That is why I called it a channel
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
Yeah sorry for the confusion. But eitherway the issue is still the same. Getting the user info from here is not the issue, it's that it's cached and doesn't update correctly
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
No sorry, I missread. It's a guild
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
From what I can tell it is a channel. (Channel is maybe not the correct word from API standpoint, but from discord POV it's a voice channel) The channel contains a voiceState object.
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
Unfortunetely I need the user for what I'm doing, not only the count. Sorry for the confusion.
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
Yeah sorry for the confusion. Maybe I should named it voiceChannel instead. But I will try cleaning up some of the intents and see if that helps.
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
Could having more intents cause issues? I've just added a bunch without thinking about it
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/13/2024 in #djs-questions
guild.voiceStates.cache force update?
I have both these intents. (and more but these are the relevant ones)
GatewayIntentBits.GuildVoiceStates,
641
GatewayIntentBits.GuildVoiceStates,
641
22 replies
DIAdiscord.js - Imagine a boo! 👻
Created by CheeseGroveCam on 4/12/2024 in #djs-questions
Server available is false most of the time.
Unlucky I guess.
4 replies