mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
asa
This commit is contained in:
@@ -662,6 +662,8 @@ async def get_random_cyclic_message():
|
||||
words.
|
||||
:return: a random cyclic message from the list `cyclic_words`.
|
||||
"""
|
||||
channel_id = 1062047367337095268
|
||||
channel = client.get_channel(channel_id)
|
||||
ai_check = random.randint(0,10)
|
||||
logger.info("Losowa wypowiedź")
|
||||
if ai_check < 0:
|
||||
@@ -679,8 +681,6 @@ async def get_random_cyclic_message():
|
||||
"Opowiedz jakąś historię o naszym barze proszę", True, True, MESSAGE_TABLE, "Polish Hammer", "RANDOM"
|
||||
)
|
||||
else:
|
||||
channel_id = 1062047367337095268
|
||||
channel = client.get_channel(channel_id)
|
||||
logger.info("Wtracenie w dyskusje")
|
||||
messages = [message async for message in channel.history(limit=50)]
|
||||
for message in messages:
|
||||
|
||||
Reference in New Issue
Block a user