From: Matthieu Pignolet Date: Tue, 9 Jul 2024 10:26:39 +0000 (+0400) Subject: change response algorithm X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9434712f8e491f342c04e2c7fb3a1b23fd68586b;p=matthieu%2Fgru.git change response algorithm --- diff --git a/discordjs/src/index.mjs b/discordjs/src/index.mjs index 9a37a1f..b56d6cc 100644 --- a/discordjs/src/index.mjs +++ b/discordjs/src/index.mjs @@ -52,7 +52,7 @@ const messageAction = async (message) => { if (message.author.bot) return; counter += 1; - + console.log("counter is at", counter); let shouldReply = (counter >= 75 || specialChannels.includes(message.channelId) || message.guild == null); if (shouldReply) {