Members is optional

This commit is contained in:
kozabrada123 2023-05-28 17:36:12 +02:00
parent a1a0c94e2d
commit 61a54678cb
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ use crate::types::{GuildMember, VoiceState};
/// Seems to be passively set to update the client on guild details (though, why not just send the update events?)
pub struct PassiveUpdateV1 {
pub voice_states: Vec<VoiceState>,
pub members: Vec<GuildMember>,
pub members: Option<Vec<GuildMember>>,
pub guild_id: String,
pub channels: Vec<ChannelUnreadUpdateObject>,
}