mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-19 08:12:09 +00:00
aaa
This commit is contained in:
@@ -666,8 +666,9 @@ async def get_random_cyclic_message():
|
|||||||
logger.info("Losowa wypowiedź")
|
logger.info("Losowa wypowiedź")
|
||||||
if ai_check > 0:
|
if ai_check > 0:
|
||||||
logger.info("Predefiniowana")
|
logger.info("Predefiniowana")
|
||||||
messnum = random.randint(0, len(cyclic_words) - 1)
|
messnum = random.randint(0, cyclic_words.len())
|
||||||
return cyclic_words[messnum][0]
|
mess_key = list(cyclic_words.keys())[messnum]
|
||||||
|
return cyclic_words[mess_key][0]
|
||||||
ai_check2 = random.randint(0,10)
|
ai_check2 = random.randint(0,10)
|
||||||
global MESSAGE_TABLE
|
global MESSAGE_TABLE
|
||||||
if ai_check2 > 10:
|
if ai_check2 > 10:
|
||||||
|
|||||||
Reference in New Issue
Block a user