diff --git a/deno/payloads/v10/voice.ts b/deno/payloads/v10/voice.ts index 2474aa8e..e1758600 100644 --- a/deno/payloads/v10/voice.ts +++ b/deno/payloads/v10/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id: Snowflake | null; + channel_id?: Snowflake; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp: string | null; + request_to_speak_timestamp?: string; } /** diff --git a/deno/payloads/v9/voice.ts b/deno/payloads/v9/voice.ts index 2474aa8e..e1758600 100644 --- a/deno/payloads/v9/voice.ts +++ b/deno/payloads/v9/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id: Snowflake | null; + channel_id?: Snowflake; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp: string | null; + request_to_speak_timestamp?: string; } /** diff --git a/payloads/v10/voice.ts b/payloads/v10/voice.ts index d2a100a5..2e3964bb 100644 --- a/payloads/v10/voice.ts +++ b/payloads/v10/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id: Snowflake | null; + channel_id?: Snowflake; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp: string | null; + request_to_speak_timestamp?: string; } /** diff --git a/payloads/v9/voice.ts b/payloads/v9/voice.ts index d2a100a5..2e3964bb 100644 --- a/payloads/v9/voice.ts +++ b/payloads/v9/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id: Snowflake | null; + channel_id?: Snowflake; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp: string | null; + request_to_speak_timestamp?: string; } /**