From 5fcc36ab1052379b8690e1ef928ec0ce1d55bb8d Mon Sep 17 00:00:00 2001 From: Noi Date: Thu, 13 Jan 2022 18:16:21 -0800 Subject: [PATCH] Remove extra logging --- Commands.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Commands.cs b/Commands.cs index e321c44..97c4e8e 100644 --- a/Commands.cs +++ b/Commands.cs @@ -377,10 +377,7 @@ internal class Commands { if (guild.MemberCount > 30) { // For guilds of size over 30, require 85% or more of the members to be known // (26/30, 42/50, 255/300, etc) - int threshold = (int)(guild.MemberCount * 0.85); - Program.Log(nameof(HasMostMembersDownloaded), - $"Passing with {guild.DownloadedMemberCount}/{guild.MemberCount} in cache for guild {guild.Id}."); - return guild.DownloadedMemberCount >= threshold; + return guild.DownloadedMemberCount>= (int)(guild.MemberCount * 0.85); } else { // For smaller guilds, fail if two or more members are missing return guild.MemberCount - guild.DownloadedMemberCount <= 2;