(v13) Target not connected to voice
Our bot is not able to correctly move certain members. Even though they are connected to a channel the bot has acces to, it returns Error: Error moving user: DiscordAPIError: Target user is not connected to voice.
It runs v13 since it's hosted by our FiveM server. Which doesn't have the node Discord.js needs.
How would I fix this?
a user with Discord ID "1213xxxxxxxxxx" is moved, but a user with "1061xxxxxxxx" isn't.
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!
- ✅
Marked as resolved by OP![No description](https://cdn.answeroverflow.com/1229411850316156979/image.png)
Nvm, I realized what was wrong.