zmensil sance
This commit is contained in:
parent
6d74466432
commit
8c204a1bd7
@ -35,7 +35,7 @@ async def on_ready():
|
|||||||
async def on_message(message):
|
async def on_message(message):
|
||||||
|
|
||||||
### chance to add reaction to the 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("❤️")
|
await message.add_reaction("❤️")
|
||||||
|
|
||||||
### reply to mention
|
### reply to mention
|
||||||
@ -45,7 +45,7 @@ async def on_message(message):
|
|||||||
await message.reply(odpoved)
|
await message.reply(odpoved)
|
||||||
|
|
||||||
### every message reply chance
|
### 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)
|
odpoved = responses_messages.response_generator(message)
|
||||||
if odpoved != None:
|
if odpoved != None:
|
||||||
await message.reply(odpoved)
|
await message.reply(odpoved)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user