discord-api-docs
discord-api-docs copied to clipboard
Document Set Voice Channel Status endpoint
PUT /channels/:id/voice-status
note: this endpoint currently requires the x-super-properties header due to the leftover experiment lock
requires #6398 (receiving) - this PR will probably fail CI for now
does this need to be a separate PR? wouldn't it be better to just suggest documenting the endpoint in the original PR (#6398)?
#6398 can be merged already, but this needs the xsp header check to be removed
#6398 can be merged already, but this needs the xsp header check to be removed
makes sense, though considering how long it takes staff to merge docs, there's a chance the feature will be fully rolled out by the time they even see this :)
This is now supported by bots.
route = discord.http.Route("PUT", "/channels/{channel_id}/voice-status", channel_id=1097935888748662854)
payload = {"status": "hello"}
ret = await guild._state.http.request(route, json=payload)
voice status seems to be unavailable in servers with hang status (at least the GUI is) - tbd if that replaces it, I suppose
It still exists in the context menu and is shown if we're on the voice call screen for the channel.
But it's not shown under the channel name anymore.