From ef7261adf9d58efdbd2b7594da67affa5855dca3 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Wed, 16 Aug 2023 22:04:36 +0200 Subject: [PATCH] I think i found out why shit no work --- src/types/events/guild.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/events/guild.rs b/src/types/events/guild.rs index 84ac5b8..28e917a 100644 --- a/src/types/events/guild.rs +++ b/src/types/events/guild.rs @@ -215,7 +215,9 @@ impl UpdateMessage for GuildRoleUpdate { } fn update(&mut self, object_to_update: Arc>) { + println!("Processing Role Update. Name: {}", self.role.name); let mut write = object_to_update.write().unwrap(); + // FIXME: The result of this update never gets saved in the store of GatewayHandle... This is why shit no work *write = self.role.clone(); } }