From 20fb6e32230fe8e2c432556a2d7ee1bd4e6bb458 Mon Sep 17 00:00:00 2001 From: AlberLC Date: Wed, 25 May 2022 02:55:28 +0200 Subject: [PATCH] Fix bot insults ratio --- flanabot/bots/flana_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flanabot/bots/flana_bot.py b/flanabot/bots/flana_bot.py index 02d4a6d..4154d99 100644 --- a/flanabot/bots/flana_bot.py +++ b/flanabot/bots/flana_bot.py @@ -447,7 +447,7 @@ class FlanaBot(MultiBot, ABC): ( message.chat.config['auto_insult'] and - random.random() < 0.5 + random.random() < constants.INSULTS ) ) )