Remove duplicate VoiceState
This commit is contained in:
parent
7c0c95690d
commit
101c95d909
|
@ -845,24 +845,6 @@ pub struct IntegrationAccount {
|
||||||
pub name: String,
|
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<String>,
|
|
||||||
pub channel_id: Option<String>,
|
|
||||||
pub user_id: String,
|
|
||||||
pub member: Option<GuildMember>,
|
|
||||||
pub session_id: String,
|
|
||||||
pub deaf: bool,
|
|
||||||
pub mute: bool,
|
|
||||||
pub self_deaf: bool,
|
|
||||||
pub self_mute: bool,
|
|
||||||
pub self_stream: Option<bool>,
|
|
||||||
pub self_video: bool,
|
|
||||||
pub suppress: bool,
|
|
||||||
pub request_to_speak_timestamp: DateTime<Utc>,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Default, Debug, Deserialize, Serialize, Clone)]
|
#[derive(Default, Debug, Deserialize, Serialize, Clone)]
|
||||||
/// See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object
|
/// See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object
|
||||||
pub struct StageInstance {
|
pub struct StageInstance {
|
||||||
|
|
Loading…
Reference in New Issue