Only count biggest loser messages in one guild

This commit is contained in:
2026-03-03 18:34:07 -08:00
parent 907a7caec6
commit c181669159
2 changed files with 18 additions and 5 deletions

View File

@@ -466,7 +466,11 @@ async function scheduleBiggestLoser(firstTime = false) {
const channel = <TextChannel>await client.channels.fetch(process.env.LOSER_CHANNEL);
if (channel) {
try {
const declaration = await sendBiggestLoserAnnouncement(client, channel);
const declaration = await sendBiggestLoserAnnouncement(
client,
channel,
channel.guild.id
);
logInfo(`[bot] Declaring biggest loser: ${declaration}`);
await channel.send(declaration);