From b3d004af7fbfd2b4d5fec17ff6307977c50feeab Mon Sep 17 00:00:00 2001 From: GnomedDev Date: Sat, 10 Feb 2024 22:28:02 +0000 Subject: [PATCH] Fix xsaid always triggering when not alone --- src/structs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structs.rs b/src/structs.rs index 29f2b8e..b2db6a8 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -162,7 +162,7 @@ impl LastXsaidInfo { } let has_been_min = self.1.elapsed().unwrap().as_secs() > 60; - let is_only_author = Self::get_vc_member_count(guild, voice_channel_id) > 2; + let is_only_author = Self::get_vc_member_count(guild, voice_channel_id) <= 1; has_been_min || is_only_author }