Skip to content

Commit 3687595

Browse files
authored
Fix modify user voice state channel_id nullability and include 204 response mention (#7517)
1 parent cd27dae commit 3687595

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/resources/voice.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ There are currently several caveats for this endpoint:
9595
## Modify User Voice State
9696
<Route method="PATCH">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/voice-states/[\{user.id\}](/docs/resources/user#user-object)</Route>
9797

98-
Updates another user's voice state. Fires a [Voice State Update](/docs/events/gateway-events#voice-state-update) Gateway event.
98+
Updates another user's voice state. Returns `204 No Content` on success. Fires a [Voice State Update](/docs/events/gateway-events#voice-state-update) Gateway event.
9999

100100
###### JSON Params
101101

102-
| Field | Type | Description |
103-
|------------|-----------|------------------------------------------------|
104-
| channel_id | snowflake | the id of the channel the user is currently in |
105-
| suppress? | boolean | toggles the user's suppress state |
102+
| Field | Type | Description |
103+
|-------------|-----------|------------------------------------------------|
104+
| channel_id? | snowflake | the id of the channel the user is currently in |
105+
| suppress? | boolean | toggles the user's suppress state |
106106

107107
###### Caveats
108108

0 commit comments

Comments
 (0)