From a12a7ba11e99171c97edaa4f68d45d92f9ff6255 Mon Sep 17 00:00:00 2001 From: Matthieu Pignolet Date: Sat, 19 Apr 2025 22:41:30 +0400 Subject: [PATCH] Revert "feat: double the couner reply probability" This reverts commit f2651f8b0713cb6165b9a1b3f52d062168428105. --- discordjs/src/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || -- 2.39.5