discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Document Set Voice Channel Status endpoint

Open advaith1 opened this issue 2 years ago • 17 comments
trafficstars

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

advaith1 avatar Sep 04 '23 09:09 advaith1

does this need to be a separate PR? wouldn't it be better to just suggest documenting the endpoint in the original PR (#6398)?

sebm253 avatar Sep 06 '23 11:09 sebm253

#6398 can be merged already, but this needs the xsp header check to be removed

advaith1 avatar Sep 06 '23 11:09 advaith1

#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 :)

sebm253 avatar Sep 06 '23 12:09 sebm253

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)

image

codeofandrin avatar Dec 26 '23 10:12 codeofandrin

voice status seems to be unavailable in servers with hang status (at least the GUI is) - tbd if that replaces it, I suppose

almostSouji avatar Dec 26 '23 11:12 almostSouji

2023-12-26_12h57_40 2023-12-26_12h57_45 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.

Lulalaby avatar Dec 26 '23 11:12 Lulalaby