diff --git a/monolith.py b/monolith.py index 3585e8f..d19c2e7 100644 --- a/monolith.py +++ b/monolith.py @@ -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))