Run ingest task first
This commit is contained in:
parent
508b00e471
commit
ce2d7684bc
|
@ -21,15 +21,15 @@ if not token:
|
|||
|
||||
|
||||
async def main(loop):
|
||||
ingest = Ingest()
|
||||
loop.create_task(ingest.run())
|
||||
|
||||
client = DiscordClient()
|
||||
loop.create_task(client.start(token))
|
||||
|
||||
chan = Chan4()
|
||||
loop.create_task(chan.run())
|
||||
|
||||
ingest = Ingest()
|
||||
loop.create_task(ingest.run())
|
||||
|
||||
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.create_task(main(loop))
|
||||
|
|
Loading…
Reference in New Issue