zmensil sance

This commit is contained in:
Honza 2024-08-15 10:25:20 +02:00
parent 6d74466432
commit 8c204a1bd7

View File

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