Update karel_main.py

This commit is contained in:
Jáchym Němeček 2024-08-15 15:12:56 +00:00
parent 8c204a1bd7
commit beb8a85c3f

View File

@ -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)