From beb8a85c3fef127e9430a58c5eea44fba02887d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20N=C4=9Bme=C4=8Dek?= Date: Thu, 15 Aug 2024 15:12:56 +0000 Subject: [PATCH] Update karel_main.py --- karel_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karel_main.py b/karel_main.py index 42a8acd..7595d36 100644 --- a/karel_main.py +++ b/karel_main.py @@ -39,7 +39,7 @@ async def on_message(message): await message.add_reaction("❤️") ### reply to mention - if client.user.mentioned_in(message) and "@here" not in message.content and random.randint(1,3) == random.randint(1,3): + if client.user.mentioned_in(message) and "@here" not in message.content and random.randint(1,6) != random.randint(1,6): odpoved = responses_messages.response_generator(message) if odpoved != None: await message.reply(odpoved)