From 61a54678cbeb6d15927206dc7b3bca3c0a16d2b4 Mon Sep 17 00:00:00 2001 From: kozabrada123 <“kozabrada123@users.noreply.github.com”> Date: Sun, 28 May 2023 17:36:12 +0200 Subject: [PATCH] Members is optional --- src/types/events/passive_update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/events/passive_update.rs b/src/types/events/passive_update.rs index 65a7272..7417467 100644 --- a/src/types/events/passive_update.rs +++ b/src/types/events/passive_update.rs @@ -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, - pub members: Vec, + pub members: Option>, pub guild_id: String, pub channels: Vec, }