From 12d2cff7478f56f54d90c4aed5409c08567cc823 Mon Sep 17 00:00:00 2001 From: Fleny Date: Mon, 11 Aug 2025 08:43:15 +0200 Subject: [PATCH] fix(types): Sort voice.ts types (#4299) --- packages/types/src/discord/voice.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/discord/voice.ts b/packages/types/src/discord/voice.ts index 437ba502b..5d419d40d 100644 --- a/packages/types/src/discord/voice.ts +++ b/packages/types/src/discord/voice.ts @@ -4,8 +4,6 @@ import type { DiscordMemberWithUser } from './guild.js' /** https://discord.com/developers/docs/resources/voice#voice-state-object-voice-state-structure */ export interface DiscordVoiceState { - /** The session id for this voice state */ - session_id: string /** The guild id this voice state is for */ guild_id?: string /** The channel id this user is connected to */ @@ -14,6 +12,8 @@ export interface DiscordVoiceState { user_id: string /** The guild member this voice state is for */ member?: DiscordMemberWithUser + /** The session id for this voice state */ + session_id: string /** Whether this user is deafened by the server */ deaf: boolean /** Whether this user is muted by the server */