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 advance10 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!:pr_draft: #6400 in discord/discord-api-docs by advaith1 created <t:1693818327:R> (review required)
Document Set Voice Channel Status endpoint
It's not documented by Discord yet
But it is supported, correct?
Everything that's not documented counts like not supported
(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
It's not implemented by discord.js, because it's not documented by Discord
alrighty :stn_thumbsup:
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" }
Alright thank you