mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 21:54:36 +00:00
Didn't I remove this?
This commit is contained in:
parent
42399e423c
commit
80348f91ea
1 changed files with 0 additions and 2 deletions
|
@ -43,8 +43,6 @@ static class Common {
|
||||||
// For guilds of size over 30, require 85% or more of the members to be known
|
// For guilds of size over 30, require 85% or more of the members to be known
|
||||||
// (26/30, 42/50, 255/300, etc)
|
// (26/30, 42/50, 255/300, etc)
|
||||||
int threshold = (int)(guild.MemberCount * 0.85);
|
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 >= threshold;
|
||||||
} else {
|
} else {
|
||||||
// For smaller guilds, fail if two or more members are missing
|
// For smaller guilds, fail if two or more members are missing
|
||||||
|
|
Loading…
Reference in a new issue