The program saves the old voice ID.
Hey I'm developing one (+moove @user) and it works the first time when I start the bot but when I do the command again, it doesn't work anymore, it records the old voice from when I launched the command and doesn't arrive not to put the new vocal where I am.
5 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 work on [email protected]
et njs 20.10.0
What's the error you get ?
https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/VoiceState?scrollTo=setChannel
setChannel is a promise.
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
I dont have error
Raaaah yes but … I don’t like a new
i install djs13.17.1 @Qjuh