Bot don't join VC (err: TypeError: Cannot read properties of undefined (reading 'set') )
When i try to do this it returns me the error
And when i log
channel.guild.voiceAdapterCreator
I recieve this in the console Voice Adapter Creator: [Function (anonymous)]
Someone who can help me with this?2 Replies
- What are your intents?
GuildVoiceStates
is required to receive voice data!
- Show what dependencies you are using -- generateDependencyReport()
is exported from @discordjs/voice
.
- Try looking at common examples: https://github.com/discordjs/voice-examples.
- 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 OPI have searched my intire code but i didn't find any changes i made in the code. I also didn't create any Client.voice or something like that because i'm always referencing to the package
It gives me this
looks like i over write it. Now it's fixed. Thanks