mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
aaa
This commit is contained in:
@@ -649,10 +649,10 @@ async def check_data():
|
||||
tdelta = datetime.now() - LAST_SPONTANEOUS_CALL
|
||||
tdelta = tdelta.total_seconds()
|
||||
logger.info(tdelta)
|
||||
if tdelta > 12:
|
||||
if tdelta > 20:
|
||||
LAST_SPONTANEOUS_CALL = datetime.now()
|
||||
async with channel.typing():
|
||||
message = get_random_cyclic_message()
|
||||
message = await get_random_cyclic_message()
|
||||
await channel.send(message)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user