From 8c204a1bd7a19418486d77af4901031645c81294 Mon Sep 17 00:00:00 2001 From: Honza Date: Thu, 15 Aug 2024 10:25:20 +0200 Subject: [PATCH] zmensil sance --- karel_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/karel_main.py b/karel_main.py index 2b761db..42a8acd 100644 --- a/karel_main.py +++ b/karel_main.py @@ -35,7 +35,7 @@ async def on_ready(): async def on_message(message): ### chance to add reaction to the message - if random.randint(1,120) == random.randint(1,120): + if random.randint(1,200) == random.randint(1,200): await message.add_reaction("❤️") ### reply to mention @@ -45,7 +45,7 @@ async def on_message(message): await message.reply(odpoved) ### every message reply chance - elif message.author != client.user and message.content.startswith(prefix) == False and random.randint(1,60) == random.randint(1,60): + elif message.author != client.user and message.content.startswith(prefix) == False and random.randint(1,120) == random.randint(1,120): odpoved = responses_messages.response_generator(message) if odpoved != None: await message.reply(odpoved)