3 seconds timeout.
This commit is contained in:
parent
2fc6d30c01
commit
25cf5625b4
|
@ -20,7 +20,7 @@ async def exit_after(delay):
|
||||||
@client.event
|
@client.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
await run_checks()
|
await run_checks()
|
||||||
asyncio.create_task(exit_after(30))
|
asyncio.create_task(exit_after(3))
|
||||||
await client.close()
|
await client.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue