MCPcopy Create free account
hub / github.com/AnswerOverflow/AnswerOverflow / getMemberCount

Function getMemberCount

apps/discord-bot/src/utils/conversions.ts:166–171  ·  view source on GitHub ↗
(guild: Guild)

Source from the content-addressed store, hash-verified

164}
165
166export function getMemberCount(guild: Guild) {
167 const aprox = guild.approximateMemberCount;
168 const actual = guild.memberCount;
169 if (aprox && aprox > actual) return aprox;
170 return actual;
171}
172
173export function toAOServer(guild: Guild) {
174 return getDefaultServer({

Callers 2

autoUpdateServerInfoFunction · 0.90
toAOServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected