13 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!get the bot's guildmember and check if voice channel is null
you should be more descriptive though because there is probably a better way to do what you are doing
like if you are checking and you need to get the voiceconnection object that's possible too
any docs or example code for that?
yes
:function: getVoiceConnection
@0.17.0
Finds a voice connection with the given guild id and group. Defaults to the 'default' group.when im checking it says that the bot is already in the vc
even its not
¯\_(ツ)_/¯
??
refer to the message posted by djs toolkit
i did
not working
then consider following the advice in the message
wym
* Show your code, read the tag