coro coro coro
This commit is contained in:
parent
7d99e7a94f
commit
2f0ac33c02
@ -17,7 +17,7 @@ def serve(main, client: discord.Client, loop: asyncio.AbstractEventLoop):
|
||||
loop.create_task(aclose())
|
||||
|
||||
signal.signal(signal.SIGTERM, sigtermed)
|
||||
task = loop.create_task(main())
|
||||
task = loop.create_task(main)
|
||||
try:
|
||||
loop.run_until_complete(task)
|
||||
except (KeyboardInterrupt, InterruptedError, RuntimeError):
|
||||
|
Loading…
Reference in New Issue
Block a user