]> git.puffer.fish Git - matthieu/gru.git/commitdiff
Increase the answer frequency
authorMatthieu Pignolet <matthieu@matthieu-dev.xyz>
Tue, 9 Jul 2024 18:42:21 +0000 (22:42 +0400)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2024 18:42:21 +0000 (22:42 +0400)
discordjs/src/index.mjs

index ea8d87b3bcd1f4920f49198e6e17c8a906e24f75..566348b38e15b84ed96042b6d2b5ef564f7c5cdb 100644 (file)
@@ -53,7 +53,7 @@ const messageAction = async (message) => {
 
   counter += 1;
   console.log("counter is at", counter);
-  let shouldReplyByCounter = counter >= 75;
+  let shouldReplyByCounter = counter >= 50;
   let shouldReply = (shouldReplyByCounter || specialChannels.includes(message.channelId) || message.guild == null);
 
   if (shouldReply) {