From 9b1a7f9bd8c810112d0047923e5dc4b8ebc20f4b Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Sun, 14 May 2023 12:55:19 +0200 Subject: [PATCH] Remove duplicate VoiceState --- src/api/types.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/api/types.rs b/src/api/types.rs index ae3a8e7..c87786b 100644 --- a/src/api/types.rs +++ b/src/api/types.rs @@ -845,24 +845,6 @@ pub struct IntegrationAccount { pub name: String, } -#[derive(Default, Debug, Deserialize, Serialize, Clone)] -/// See https://discord.com/developers/docs/resources/voice#voice-state-object -pub struct VoiceStateObject { - pub guild_id: Option, - pub channel_id: Option, - pub user_id: String, - pub member: Option, - pub session_id: String, - pub deaf: bool, - pub mute: bool, - pub self_deaf: bool, - pub self_mute: bool, - pub self_stream: Option, - pub self_video: bool, - pub suppress: bool, - pub request_to_speak_timestamp: DateTime, -} - #[derive(Default, Debug, Deserialize, Serialize, Clone)] /// See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object pub struct StageInstance {