From 1fc983ac977751630d23d0d63335f3151f3220f2 Mon Sep 17 00:00:00 2001 From: MatthieuCoder Date: Sun, 22 Jan 2023 14:14:14 +0400 Subject: [PATCH] change probability --- autofeur_nova/src/index.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autofeur_nova/src/index.mts b/autofeur_nova/src/index.mts index 6820d54..6e69b60 100644 --- a/autofeur_nova/src/index.mts +++ b/autofeur_nova/src/index.mts @@ -65,7 +65,7 @@ emitter.on( async (message: GatewayMessageCreateDispatch["d"]) => { // we shall not repond to bots if (message.author.bot) return; - if (Math.random() >= 0) { + if (Math.random() > 0.7) { try { // Get the completed word found by the db. let response = await completeWord(cutWord(message.content)); -- 2.39.5