summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Pignolet <matthieu@matthieu-dev.xyz>2024-07-09 14:26:39 +0400
committerMatthieu Pignolet <matthieu@matthieu-dev.xyz>2024-07-09 14:26:39 +0400
commit9434712f8e491f342c04e2c7fb3a1b23fd68586b (patch)
tree756685fb0cfb117117f369f3d6605ecfb76df5a0
parent8960400eda94c27bb2af73df39df77c81c2a8847 (diff)
change response algorithm
-rw-r--r--discordjs/src/index.mjs2
1 files changed, 1 insertions, 1 deletions
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) {