Voice Status - how to set them

Hi, I have a question about the voice status that we see at the bottom of the voice channel name, how to set a voice status while the bot is on the voice? It's for my music player system.
9 Replies
d.js toolkit
d.js toolkit6mo 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!
treble/luna
treble/luna6mo ago
Its not documented
d.js docs
d.js docs6mo ago
discord.js does not support features until they are officially documented. While there might be a way for these features to work, it can change at any time without any notice
#!/BefAci.ts
#!/BefAci.tsOP6mo ago
oh because some bots actually sets the voice status
treble/luna
treble/luna6mo ago
Its undocumented So until discord documents it, we do not support it
mr. senu
mr. senu6mo ago
I think it’s documented, my bot support this on my temporary voice channel. I looked into Documentation in Dev portal
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
aMeow
aMeow6mo ago
Not supported but this should do the trick:
client.rest.put(`/channels/${channelId}/voice-status`, { body: {status: "some string"} })
client.rest.put(`/channels/${channelId}/voice-status`, { body: {status: "some string"} })
#!/BefAci.ts
#!/BefAci.tsOP6mo ago
thanks very much!

Did you find this page helpful?