noot
Some checks failed
commit-tag / commit-tag-image (map[context:./migrations file:./migrations/Dockerfile name:migrations]) (push) Successful in 16s
commit-tag / commit-tag-image (map[context:./ts file:./ts/Dockerfile name:ts]) (push) Failing after 36s

This commit is contained in:
a 2025-06-14 17:46:37 -05:00
parent d5f3ea5848
commit 6c26594bc6
No known key found for this signature in database
GPG Key ID: 2F22877AA4DFDADB

View File

@ -160,7 +160,7 @@ export async function formGuildLeaderboardMessage(guild_id: string): Promise<Cre
// Sort by contribution // Sort by contribution
members.sort((a, b) => Number(b.contributed) - Number(a.contributed)); members.sort((a, b) => Number(b.contributed) - Number(a.contributed));
const topMembers = members.slice(0, 15); const topMembers = members.slice(0, 10);
// Get guild info from first member (all have same guild info) // Get guild info from first member (all have same guild info)
const guildName = members[0].guild_name; const guildName = members[0].guild_name;
@ -212,7 +212,7 @@ export async function formGuildLeaderboardMessage(guild_id: string): Promise<Cre
"```", "```",
leaderboardTable, leaderboardTable,
"```", "```",
`*Showing top 15 of ${members.length} members*` `*Showing top ${Math.min(members.length, 10)} of ${members.length} members*`
].join("\n"); ].join("\n");
return { return {