Skip to content

Commit

Permalink
Fix xsaid always triggering when not alone
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Feb 10, 2024
1 parent e45a712 commit b3d004a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b3d004a

Please sign in to comment.