From: Matthieu Pignolet Date: Sat, 19 Apr 2025 18:41:30 +0000 (+0400) Subject: Revert "feat: double the couner reply probability" X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=HEAD;p=matthieu%2Fgru.git Revert "feat: double the couner reply probability" This reverts commit f2651f8b0713cb6165b9a1b3f52d062168428105. --- diff --git a/discordjs/src/index.mjs b/discordjs/src/index.mjs index 08502a0..589d75a 100644 --- a/discordjs/src/index.mjs +++ b/discordjs/src/index.mjs @@ -82,7 +82,7 @@ const messageAction = async (message, ctx) => { let shouldReplyByTimestamp = currentTimestamp - lastMessageTimestamp >= 3600000; let shouldReplyByCounter = - messageReplyCounter * 2 >= Math.floor(Math.random() * 75) + 35; + messageReplyCounter >= Math.floor(Math.random() * 75) + 35; let shouldReply = ( (ctx === SYMBOL_FOR_CREATE && shouldReplyByTimestamp) || shouldReplyByCounter ||