voice channel topic support

Althought not mentioned on the DiscordJS documentation website, will the setTopic() function work for voice channels to set it's topic/status description? If not, is there some other function I'm missing / upcoming support for this? Thank you in advance
10 Replies
d.js toolkit
d.js toolkit8mo 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!
GitHub
GitHub8mo ago
:pr_draft: #6400 in discord/discord-api-docs by advaith1 created <t:1693818327:R> (review required) Document Set Voice Channel Status endpoint
Syjalo
Syjalo8mo ago
It's not documented by Discord yet
Key
KeyOP8mo ago
But it is supported, correct?
Syjalo
Syjalo8mo ago
Everything that's not documented counts like not supported
Key
KeyOP8mo ago
(when talking about documentation, I was referring to https://discord.js.org/docs/packages/discord.js/main/VoiceChannel:Class#full instead btw. Not the official Discord API page) understood, thank you
Syjalo
Syjalo8mo ago
It's not implemented by discord.js, because it's not documented by Discord
Key
KeyOP8mo ago
alrighty :stn_thumbsup:
Retro
Retro8mo ago
if you want it right now, you can manually send a put request to /api/v10/channels/{channelid}/voice-status with the body { status: "voice status" } and the headers { Authorization: "Bot TOKEN" }
Key
KeyOP8mo ago
Alright thank you

Did you find this page helpful?