From f11ca5c32054f88864cead898b8a6663b2f66376 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 14 Jun 2024 14:16:08 +0200 Subject: [PATCH] Update probas (lower react, raise ai_reply) --- botbotbot/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botbotbot/__main__.py b/botbotbot/__main__.py index b0cc9b4..c553003 100644 --- a/botbotbot/__main__.py +++ b/botbotbot/__main__.py @@ -89,7 +89,7 @@ async def on_message(message): await random.choice((reply, react))(message) return - probas = [10, 2, 20] + probas = [10, 5, 10] func = random.choices( (reply, ai_reply, react, None), weights=probas + [100 - sum(probas)]