mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
as
This commit is contained in:
@@ -656,7 +656,7 @@ async def check_data():
|
||||
await channel.send(message)
|
||||
|
||||
|
||||
def get_random_cyclic_message():
|
||||
async def get_random_cyclic_message():
|
||||
"""
|
||||
The function `get_random_cyclic_message` returns a random cyclic message from a list of cyclic
|
||||
words.
|
||||
@@ -664,7 +664,7 @@ def get_random_cyclic_message():
|
||||
"""
|
||||
ai_check = random.randint(0,10)
|
||||
logger.info("Losowa wypowiedź")
|
||||
if ai_check < 0:
|
||||
if ai_check > 0:
|
||||
logger.info("Predefiniowana")
|
||||
messnum = random.randint(0, len(cyclic_words) - 1)
|
||||
return cyclic_words[messnum][0]
|
||||
|
||||
Reference in New Issue
Block a user