temporary Voice Channels

Is it possible to create temporary Voice Channels with Discord JS. Ideally. click a button and it will put you in a custom Voice Channel and when everyone leaves it deletes/closes that Voice Channel?
7 Replies
d.js toolkit
d.js toolkit4mo ago
- 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 staff
mallusrgreat
mallusrgreat4mo ago
you'd have to listen to voice state updates and then check the member count of the voice channel in the new state, and if its 0 then delete it
Oroton
Oroton4mo ago
can you create a new VC channel and then put the user in it/auto join on interaction?
mallusrgreat
mallusrgreat4mo ago
no
h4ze
h4ze4w ago
Let them user join to an voice channel .. this event create a new channel and the user is automatically moved to the new channel. for users who follow and don't know it. Is this a violation of the rules? If not, I don't understand why you are reacting so aggressively? I'm just trying to pass on the knowledge I have and I thought this was the right place for it. But I'll refrain from doing so in the future.
duck
duck4w ago
I wouldn't really say that was a very aggressive reaction it's perfectly fine to want to help, but generally necroposting is frowned upon, not just here especially for things that could already be considered resolved
h4ze
h4ze4w ago
How can I see that it's solved if it hasn't been marked as solved? Necro or not, but it could have been put across better. For example: Hey <name>, it's great that you want to help but this post is already solved and unfortunately it was forgotten to be marked as such. Thanks for your time. Or whatever... well, have a nice day 😉 May God be with you.