3 seconds timeout.

This commit is contained in:
Ivaylo Novakov 2020-08-31 13:39:07 +02:00
parent 2fc6d30c01
commit 25cf5625b4
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ async def exit_after(delay):
@client.event
async def on_ready():
await run_checks()
asyncio.create_task(exit_after(30))
asyncio.create_task(exit_after(3))
await client.close()