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 toolkit4d 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/luna4d ago
Its not documented
d.js docs
d.js docs4d 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.js
oh because some bots actually sets the voice status
treble/luna
treble/luna4d ago
Its undocumented So until discord documents it, we do not support it
Senu
Senu3d 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 User3d ago
Message Not Public
Sign In & Join Server To View
aMeow
aMeow3d 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.js
thanks very much!

Did you find this page helpful?