From ddbbee3bcef6160b8c3d8650791ca7f9d018457c Mon Sep 17 00:00:00 2001 From: leydel Date: Fri, 25 Apr 2025 17:26:20 +1000 Subject: [PATCH] Fix modify user voice state channel_id nullability and include 204 response mention --- docs/resources/voice.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/resources/voice.mdx b/docs/resources/voice.mdx index 86baed96eb..381e0ffcaf 100644 --- a/docs/resources/voice.mdx +++ b/docs/resources/voice.mdx @@ -95,14 +95,14 @@ There are currently several caveats for this endpoint: ## Modify User Voice State /guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/voice-states/[\{user.id\}](/docs/resources/user#user-object) -Updates another user's voice state. Fires a [Voice State Update](/docs/events/gateway-events#voice-state-update) Gateway event. +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. ###### JSON Params -| Field | Type | Description | -|------------|-----------|------------------------------------------------| -| channel_id | snowflake | the id of the channel the user is currently in | -| suppress? | boolean | toggles the user's suppress state | +| Field | Type | Description | +|-------------|-----------|------------------------------------------------| +| channel_id? | snowflake | the id of the channel the user is currently in | +| suppress? | boolean | toggles the user's suppress state | ###### Caveats